共用方式為


AccessPolicy Interface

Implements

public interface AccessPolicy
extends ChildResource<Vault>, HasInnerModel<AccessPolicyEntry>

An immutable client-side representation of a key vault access policy.

Method Summary

Modifier and Type Method and Description
abstract String applicationId()

Gets application ID of the client making request on behalf of a principal.

abstract String objectId()

Gets the object ID of a user or service principal in the Azure Active Directory tenant for the vault.

abstract Permissions permissions()

Gets permissions the identity has for keys and secrets.

abstract String tenantId()

Gets the Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.

Method Details

applicationId

public abstract String applicationId()

Gets application ID of the client making request on behalf of a principal.

Returns:

Application ID of the client making request on behalf of a principal.

objectId

public abstract String objectId()

Gets the object ID of a user or service principal in the Azure Active Directory tenant for the vault.

Returns:

The object ID of a user or service principal in the Azure Active Directory tenant for the vault.

permissions

public abstract Permissions permissions()

Gets permissions the identity has for keys and secrets.

Returns:

Permissions the identity has for keys and secrets.

tenantId

public abstract String tenantId()

Gets the Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.

Returns:

The Azure Active Directory tenant ID that should be used for authenticating requests to the key vault.

Applies to