### YamlMime:JavaType
uid: "com.microsoft.azure.management.keyvault.AccessPolicy"
fullName: "com.microsoft.azure.management.keyvault.AccessPolicy"
name: "AccessPolicy"
nameWithType: "AccessPolicy"
summary: "An immutable client-side representation of a key vault access policy."
syntax: "public interface **AccessPolicy** extends <>, <>"
methods:
- uid: "com.microsoft.azure.management.keyvault.AccessPolicy.applicationId()"
fullName: "com.microsoft.azure.management.keyvault.AccessPolicy.applicationId()"
name: "applicationId()"
nameWithType: "AccessPolicy.applicationId()"
modifiers:
- "abstract"
syntax: "public abstract String applicationId()"
returns:
description: "Application ID of the client making request on behalf of a principal."
type: ""
- uid: "com.microsoft.azure.management.keyvault.AccessPolicy.objectId()"
fullName: "com.microsoft.azure.management.keyvault.AccessPolicy.objectId()"
name: "objectId()"
nameWithType: "AccessPolicy.objectId()"
modifiers:
- "abstract"
syntax: "public abstract String objectId()"
returns:
description: "The object ID of a user or service principal in the Azure Active\n Directory tenant for the vault."
type: ""
- uid: "com.microsoft.azure.management.keyvault.AccessPolicy.permissions()"
fullName: "com.microsoft.azure.management.keyvault.AccessPolicy.permissions()"
name: "permissions()"
nameWithType: "AccessPolicy.permissions()"
modifiers:
- "abstract"
syntax: "public abstract Permissions permissions()"
returns:
description: "Permissions the identity has for keys and secrets."
type: ""
- uid: "com.microsoft.azure.management.keyvault.AccessPolicy.tenantId()"
fullName: "com.microsoft.azure.management.keyvault.AccessPolicy.tenantId()"
name: "tenantId()"
nameWithType: "AccessPolicy.tenantId()"
modifiers:
- "abstract"
syntax: "public abstract String tenantId()"
returns:
description: "The Azure Active Directory tenant ID that should be used for\n authenticating requests to the key vault."
type: ""
type: "interface"
desc: "An immutable client-side representation of a key vault access policy."
implements:
- "<>"
- "<>"
metadata: {}
package: "com.microsoft.azure.management.keyvault"
artifact: com.microsoft.azure:azure-mgmt-keyvault:1.41.4