OciKeyDetails

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

Bases: AutonomousDatabaseEncryptionKeyDetails

Details for OCI encryption key.

Attributes:

PROVIDER_AWS

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_AZURE

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OCI

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_OKV

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

PROVIDER_ORACLE_MANAGED

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.

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'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AWS”

PROVIDER_AZURE = 'AZURE'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “AZURE”

PROVIDER_OCI = 'OCI'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OCI”

PROVIDER_OKV = 'OKV'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “OKV”

PROVIDER_ORACLE_MANAGED = 'ORACLE_MANAGED'

A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails. This constant has a value of “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.

property 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

property provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails. The provider for the Autonomous AI 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

property 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