OciKeyDetails

class oci.database.models.OciKeyDetails(**kwargs)

Bases: oci.database.models.autonomous_database_encryption_key_details.AutonomousDatabaseEncryptionKeyDetails

Details for OCI encryption key.

Attributes

PROVIDER_AWS str(object=’’) -> str
PROVIDER_AZURE str(object=’’) -> str
PROVIDER_OCI str(object=’’) -> str
PROVIDER_OKV str(object=’’) -> str
PROVIDER_ORACLE_MANAGED str(object=’’) -> str
kms_key_id [Required] Gets the kms_key_id of this OciKeyDetails.
provider Gets the provider of this AutonomousDatabaseEncryptionKeyDetails.
vault_id [Required] Gets the vault_id of this OciKeyDetails.

Methods

__init__(**kwargs) Initializes a new OciKeyDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
PROVIDER_AWS = 'AWS'
PROVIDER_AZURE = 'AZURE'
PROVIDER_OCI = 'OCI'
PROVIDER_OKV = 'OKV'
PROVIDER_ORACLE_MANAGED = 'ORACLE_MANAGED'
__init__(**kwargs)

Initializes a new OciKeyDetails object with values from keyword arguments. The default value of the provider attribute of this class is OCI and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • provider (str) – The value to assign to the provider property of this OciKeyDetails. Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”
  • kms_key_id (str) – The value to assign to the kms_key_id property of this OciKeyDetails.
  • vault_id (str) – The value to assign to the vault_id property of this OciKeyDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

kms_key_id

[Required] Gets the kms_key_id of this OciKeyDetails. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

Returns:The kms_key_id of this OciKeyDetails.
Return type:str
provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. The provider for the Autonomous Database encryption key.

Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The provider of this AutonomousDatabaseEncryptionKeyDetails.
Return type:str
vault_id

[Required] Gets the vault_id of this OciKeyDetails. The OCID of the Oracle Cloud Infrastructure vault. This parameter and secretId are required for Customer Managed Keys.

Returns:The vault_id of this OciKeyDetails.
Return type:str