Vault.DefinitionStages.WithAccessPolicy Interface
public static interface Vault.DefinitionStages.WithAccessPolicy
A key vault definition allowing access policies to be attached.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Blank<With |
defineAccessPolicy()
Begins the definition of a new access policy to be added to this key vault. |
abstract
With |
withAccessPolicy(AccessPolicy accessPolicy)
Attach an existing access policy. |
abstract
With |
withEmptyAccessPolicy()
Attach no access policy. |
abstract
With |
withRoleBasedAccessControl()
Enables role based access control (RBAC) for authorization of data access. |
Method Details
defineAccessPolicy
public abstract AccessPolicy.DefinitionStages.Blank
Begins the definition of a new access policy to be added to this key vault.
Returns:
withAccessPolicy
public abstract Vault.DefinitionStages.WithCreate withAccessPolicy(AccessPolicy accessPolicy)
Attach an existing access policy.
Parameters:
Returns:
withEmptyAccessPolicy
public abstract Vault.DefinitionStages.WithCreate withEmptyAccessPolicy()
Attach no access policy.
Returns:
withRoleBasedAccessControl
public abstract Vault.DefinitionStages.WithCreate withRoleBasedAccessControl()
Enables role based access control (RBAC) for authorization of data access. It overrides access policies configure.
Returns:
Applies to
Azure SDK for Java