你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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