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<WithCreate> defineAccessPolicy()

Begins the definition of a new access policy to be added to this key vault.

abstract WithCreate withAccessPolicy(AccessPolicy accessPolicy)

Attach an existing access policy.

abstract WithCreate withEmptyAccessPolicy()

Attach no access policy.

Method Details

defineAccessPolicy

public abstract AccessPolicy.DefinitionStages.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

withAccessPolicy

public abstract Vault.DefinitionStages.WithCreate withAccessPolicy(AccessPolicy accessPolicy)

Attach an existing access policy.

Parameters:

accessPolicy - the existing access policy

Returns:

the next stage of key vault definition

withEmptyAccessPolicy

public abstract Vault.DefinitionStages.WithCreate withEmptyAccessPolicy()

Attach no access policy.

Returns:

the next stage of key vault definition

Applies to