Interface Vault.DefinitionStages.WithAccessPolicy
- All Known Subinterfaces:
Vault.Definition
,Vault.DefinitionStages.WithCreate
- Enclosing interface:
- Vault.DefinitionStages
public static interface Vault.DefinitionStages.WithAccessPolicy
A key vault definition allowing access policies to be attached.
-
Method Summary
Modifier and TypeMethodDescriptionBegins the definition of a new access policy to be added to this key vault.withAccessPolicy
(AccessPolicy accessPolicy) Attach an existing access policy.Attach no access policy.
-
Method Details
-
withEmptyAccessPolicy
Vault.DefinitionStages.WithCreate withEmptyAccessPolicy()Attach no access policy.- Returns:
- the next stage of key vault definition
-
withAccessPolicy
Attach an existing access policy.- Parameters:
accessPolicy
- the existing access policy- Returns:
- the next stage of key vault definition
-
defineAccessPolicy
AccessPolicy.DefinitionStages.Blank<Vault.DefinitionStages.WithCreate> 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
-