Share via


KeyEncryptionKey Class

Definition

Encryption key containing details about key to encrypt different keys.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.KeyEncryptionKeyTypeConverter))]
public class KeyEncryptionKey : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IKeyEncryptionKey
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.KeyEncryptionKeyTypeConverter))>]
type KeyEncryptionKey = class
    interface IKeyEncryptionKey
    interface IJsonSerializable
Public Class KeyEncryptionKey
Implements IKeyEncryptionKey
Inheritance
KeyEncryptionKey
Attributes
Implements

Constructors

KeyEncryptionKey()

Creates an new KeyEncryptionKey instance.

Properties

IdentityProperty

Managed identity properties used for key encryption.

KekType

Type of encryption key used for key encryption.

KekUrl

Key encryption key. It is required in case of Customer managed KekType.

KekVaultResourceId

Kek vault resource id. It is required in case of Customer managed KekType.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of KeyEncryptionKey.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of KeyEncryptionKey.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IKeyEncryptionKey.

FromJsonString(String)

Creates a new instance of KeyEncryptionKey, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of KeyEncryptionKey into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to