Condividi tramite


KeyVaultAccessPolicy Class

Definition

An identity that have access to the key vault. All identities in the array must use the same tenant ID as the key vault's tenant ID.

public class KeyVaultAccessPolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.KeyVault.Models.KeyVaultAccessPolicy>
public class KeyVaultAccessPolicy
type KeyVaultAccessPolicy = class
    interface IJsonModel<KeyVaultAccessPolicy>
    interface IPersistableModel<KeyVaultAccessPolicy>
type KeyVaultAccessPolicy = class
Public Class KeyVaultAccessPolicy
Implements IJsonModel(Of KeyVaultAccessPolicy), IPersistableModel(Of KeyVaultAccessPolicy)
Public Class KeyVaultAccessPolicy
Inheritance
KeyVaultAccessPolicy
Implements

Constructors

KeyVaultAccessPolicy(Guid, String, IdentityAccessPermissions)

Initializes a new instance of KeyVaultAccessPolicy.

Properties

ApplicationId

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

ObjectId

The object ID of a user, service principal or security group in the Azure Active Directory tenant for the vault. The object ID must be unique for the list of access policies.

Permissions

Permissions the identity has for keys, secrets and certificates.

TenantId

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

Explicit Interface Implementations

IJsonModel<KeyVaultAccessPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<KeyVaultAccessPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyVaultAccessPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyVaultAccessPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<KeyVaultAccessPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to