Поделиться через


KeyAndSecretDetails Class

Definition

BEK is bitlocker key. KEK is encryption key for BEK If the VM was encrypted then we will store following details :

  1. Secret(BEK) - Url + Backup Data + vaultId.
  2. Key(KEK) - Url + Backup Data + vaultId.
  3. EncryptionMechanism BEK and KEK can potentially have different vault ids.
public class KeyAndSecretDetails : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RecoveryServicesBackup.Models.KeyAndSecretDetails>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RecoveryServicesBackup.Models.KeyAndSecretDetails>
type KeyAndSecretDetails = class
    interface IJsonModel<KeyAndSecretDetails>
    interface IPersistableModel<KeyAndSecretDetails>
Public Class KeyAndSecretDetails
Implements IJsonModel(Of KeyAndSecretDetails), IPersistableModel(Of KeyAndSecretDetails)
Inheritance
KeyAndSecretDetails
Implements

Constructors

KeyAndSecretDetails()

Initializes a new instance of KeyAndSecretDetails.

Properties

BekDetails

BEK is bitlocker encryption key.

EncryptionMechanism

Encryption mechanism: None/ SinglePass/ DoublePass.

KekDetails

KEK is encryption key for BEK.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<KeyAndSecretDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<KeyAndSecretDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<KeyAndSecretDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<KeyAndSecretDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<KeyAndSecretDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to