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. |
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:
Applies to
Azure SDK for Java