KeyAndSecretDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
BEK is bitlocker key. KEK is encryption key for BEK If the VM was encrypted then we will store following details :
- Secret(BEK) - Url + Backup Data + vaultId.
- Key(KEK) - Url + Backup Data + vaultId.
- 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
Azure SDK for .NET