Share via


CustomerManagedKeyEncryptionKeyIdentity Class

Definition

All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault.

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

Constructors

CustomerManagedKeyEncryptionKeyIdentity()

Initializes a new instance of CustomerManagedKeyEncryptionKeyIdentity.

Properties

DelegatedIdentityClientId

delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only.

IdentityType

Values can be systemAssignedIdentity or userAssignedIdentity.

UserAssignedIdentityResourceId

user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CustomerManagedKeyEncryptionKeyIdentity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CustomerManagedKeyEncryptionKeyIdentity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CustomerManagedKeyEncryptionKeyIdentity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CustomerManagedKeyEncryptionKeyIdentity>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CustomerManagedKeyEncryptionKeyIdentity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to