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 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

public abstract AccessPolicy.Update updateAccessPolicy(String objectId)

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

withAccessPolicy

public abstract Vault.Update withAccessPolicy(AccessPolicy accessPolicy)

Attach an existing access policy.

Parameters:

accessPolicy - the existing access policy

Returns:

the key vault update stage

withRoleBasedAccessControl

public abstract Vault.Update withRoleBasedAccessControl()

Enables role based access control (RBAC) for authorization of data access. It overrides access policies configure.

Returns:

the update stage of the access policy definition

withoutAccessPolicy

public abstract Vault.Update withoutAccessPolicy(String objectId)

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

withoutRoleBasedAccessControl

public abstract Vault.Update withoutRoleBasedAccessControl()

Disables role based access control (RBAC) for authorization of data access.

Returns:

the update stage of the access policy definition

Applies to