Vault.UpdateStages.WithAccessPolicy Interface
public static interface Vault.UpdateStages.WithAccessPolicy
A key vault update allowing access policies to be modified, attached, or removed.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Blank<Update> |
defineAccessPolicy()
Begins the definition of a new access policy to be added to this key vault. |
abstract Update |
updateAccessPolicy(String objectId)
Begins the update of an existing access policy attached to this key vault. |
abstract Update |
withAccessPolicy(AccessPolicy accessPolicy)
Attach an existing access policy. |
abstract Update |
withRoleBasedAccessControl()
Enables role based access control (RBAC) for authorization of data access. |
abstract Update |
withoutAccessPolicy(String objectId)
Remove an access policy from the access policy list. |
abstract Update |
withoutRoleBasedAccessControl()
Disables role based access control (RBAC) for authorization of data access. |
Method Details
defineAccessPolicy
public abstract AccessPolicy.UpdateDefinitionStages.Blank
Begins the definition of a new access policy to be added to this key vault.
Returns:
updateAccessPolicy
public abstract AccessPolicy.Update updateAccessPolicy(String objectId)
Begins the update of an existing access policy attached to this key vault.
Parameters:
Returns:
withAccessPolicy
public abstract Vault.Update withAccessPolicy(AccessPolicy accessPolicy)
Attach an existing access policy.
Parameters:
Returns:
withRoleBasedAccessControl
public abstract Vault.Update withRoleBasedAccessControl()
Enables role based access control (RBAC) for authorization of data access. It overrides access policies configure.
Returns:
withoutAccessPolicy
public abstract Vault.Update withoutAccessPolicy(String objectId)
Remove an access policy from the access policy list.
Parameters:
Returns:
withoutRoleBasedAccessControl
public abstract Vault.Update withoutRoleBasedAccessControl()
Disables role based access control (RBAC) for authorization of data access.
Returns:
Applies to
Azure SDK for Java