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 withoutAccessPolicy(String objectId)

Remove an access policy from the access policy list.

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

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

Applies to