Interface Vault.DefinitionStages.WithAccessPolicy
-
- All Known Subinterfaces:
Vault.Definition,Vault.DefinitionStages.WithCreate
- Enclosing interface:
- Vault.DefinitionStages
public static interface Vault.DefinitionStages.WithAccessPolicyA key vault definition allowing access policies to be attached.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessPolicy.DefinitionStages.Blank<Vault.DefinitionStages.WithCreate>defineAccessPolicy()Begins the definition of a new access policy to be added to this key vault.Vault.DefinitionStages.WithCreatewithAccessPolicy(AccessPolicy accessPolicy)Attach an existing access policy.Vault.DefinitionStages.WithCreatewithEmptyAccessPolicy()Attach no access policy.Vault.DefinitionStages.WithCreatewithRoleBasedAccessControl()Enables role based access control (RBAC) for authorization of data access.
-
-
-
Method Detail
-
withEmptyAccessPolicy
Vault.DefinitionStages.WithCreate withEmptyAccessPolicy()
Attach no access policy.- Returns:
- the next stage of key vault definition
-
withAccessPolicy
Vault.DefinitionStages.WithCreate withAccessPolicy(AccessPolicy accessPolicy)
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
-
withRoleBasedAccessControl
Vault.DefinitionStages.WithCreate withRoleBasedAccessControl()
Enables role based access control (RBAC) for authorization of data access. It overrides access policies configure.- Returns:
- the next stage of key vault definition
-
-