Interface Vault.UpdateStages.WithAccessPolicy
- All Known Subinterfaces:
Vault.Update
- Enclosing interface:
- Vault.UpdateStages
public static interface Vault.UpdateStages.WithAccessPolicy
A key vault update allowing access policies to be modified, attached, or removed.
-
Method Summary
Modifier and TypeMethodDescriptionBegins the definition of a new access policy to be added to this key vault.updateAccessPolicy
(String objectId) Begins the update of an existing access policy attached to this key vault.withAccessPolicy
(AccessPolicy accessPolicy) Attach an existing access policy.withoutAccessPolicy
(String objectId) Remove an access policy from the access policy list.
-
Method Details
-
withoutAccessPolicy
Remove an access policy from the access policy list.- Parameters:
objectId
- the object ID of the Active Directory identity the access policy is for- Returns:
- the key vault update stage
-
withAccessPolicy
Attach an existing access policy.- Parameters:
accessPolicy
- the existing access policy- Returns:
- the key vault update stage
-
defineAccessPolicy
AccessPolicy.UpdateDefinitionStages.Blank<Vault.Update> defineAccessPolicy()Begins the definition of a new access policy to be added to this key vault.- Returns:
- the first stage of the access policy definition
-
updateAccessPolicy
Begins the update of an existing access policy attached to this key vault.- Parameters:
objectId
- the object ID of the Active Directory identity the access policy is for- Returns:
- the update stage of the access policy definition
-