VaultAndEncryptionKey¶
-
class
oci.disaster_recovery.models.
VaultAndEncryptionKey
(**kwargs)¶ Bases:
object
The OCID of a vault and customer-managed encryption key in the destination region.
The customer-managed encryption key in this will be used to encrypt all the volumes of the volume group after they move to the destination region. If you specify this common vault and encryption key, you cannot specify vaults and encryption keys individually for each volume using ‘sourceVolumeToDestinationEncryptionKeyMappings’.
The customer-managed encryption key in this will be used to encrypt the file system when it move to the destination region.
Methods
__init__
(**kwargs)Initializes a new VaultAndEncryptionKey object with values from keyword arguments. Attributes
encryption_key_id
[Required] Gets the encryption_key_id of this VaultAndEncryptionKey. vault_id
[Required] Gets the vault_id of this VaultAndEncryptionKey. -
__init__
(**kwargs)¶ Initializes a new VaultAndEncryptionKey object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - vault_id (str) – The value to assign to the vault_id property of this VaultAndEncryptionKey.
- encryption_key_id (str) – The value to assign to the encryption_key_id property of this VaultAndEncryptionKey.
-
encryption_key_id
¶ [Required] Gets the encryption_key_id of this VaultAndEncryptionKey. The OCID of the customer-managed encryption key in the destination region vault.
Example: ocid1.key.oc1..uniqueID
Returns: The encryption_key_id of this VaultAndEncryptionKey. Return type: str
-
vault_id
¶ [Required] Gets the vault_id of this VaultAndEncryptionKey. The OCID of the destination region vault for the customer-managed encryption key.
Example: ocid1.vault.oc1..uniqueID
Returns: The vault_id of this VaultAndEncryptionKey. Return type: str
-