Class: Azure::RecoveryServicesBackup::Mgmt::V2016_06_01::Models::KeyAndSecretDetails

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb

Overview

BEK stands for Bitlocker Encryption Key. KEK stands for Key Encryption Key. KEK is the encryption key used to protect the Secret for the BEK If the VM is encrypted, then the service stores the following details :

  1. Secret(BEK) - Url + Backup Data + vaultID.

  2. Key(KEK) - Url + Backup Data + vaultID.

It is possible for the BEK and KEK to have different vaultIDs.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#bek_detailsBEKDetails

Returns BEK is Bitlocker Encrpytion Key.

Returns:

  • (BEKDetails)

    BEK is Bitlocker Encrpytion Key.



30
31
32
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb', line 30

def bek_details
  @bek_details
end

#kek_detailsKEKDetails

for the Bitlocker Encryption Key (BEK).

Returns:

  • (KEKDetails)

    The Key Encryption Key (KEK) is the encryption key



27
28
29
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb', line 27

def kek_details
  @kek_details
end

Class Method Details

.mapperObject

Mapper for KeyAndSecretDetails class as Ruby Hash. This will be used for serialization/deserialization.



37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/models/key_and_secret_details.rb', line 37

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KeyAndSecretDetails',
    type: {
      name: 'Composite',
      class_name: 'KeyAndSecretDetails',
      model_properties: {
        kek_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kekDetails',
          type: {
            name: 'Composite',
            class_name: 'KEKDetails'
          }
        },
        bek_details: {
          client_side_validation: true,
          required: false,
          serialized_name: 'bekDetails',
          type: {
            name: 'Composite',
            class_name: 'BEKDetails'
          }
        }
      }
    }
  }
end