OkvKeyDetails

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

Bases: AutonomousDatabaseEncryptionKeyDetails

Details for OKV 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.

certificate_directory_name

[Required] Gets the certificate_directory_name of this OkvKeyDetails.

certificate_id

Gets the certificate_id of this OkvKeyDetails.

directory_name

[Required] Gets the directory_name of this OkvKeyDetails.

okv_kms_key

[Required] Gets the okv_kms_key of this OkvKeyDetails.

okv_uri

[Required] Gets the okv_uri of this OkvKeyDetails.

provider

Gets the provider of this AutonomousDatabaseEncryptionKeyDetails.

Methods:

__init__(**kwargs)

Initializes a new OkvKeyDetails 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 OkvKeyDetails object with values from keyword arguments. The default value of the provider attribute of this class is OKV 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 OkvKeyDetails. Allowed values for this property are: “AWS”, “AZURE”, “OCI”, “ORACLE_MANAGED”, “OKV”

  • okv_uri (str) – The value to assign to the okv_uri property of this OkvKeyDetails.

  • okv_kms_key (str) – The value to assign to the okv_kms_key property of this OkvKeyDetails.

  • directory_name (str) – The value to assign to the directory_name property of this OkvKeyDetails.

  • certificate_directory_name (str) – The value to assign to the certificate_directory_name property of this OkvKeyDetails.

  • certificate_id (str) – The value to assign to the certificate_id property of this OkvKeyDetails.

property certificate_directory_name

[Required] Gets the certificate_directory_name of this OkvKeyDetails. OKV certificate directory name

Returns

The certificate_directory_name of this OkvKeyDetails.

Return type

str

property certificate_id

Gets the certificate_id of this OkvKeyDetails. OKV certificate id

Returns

The certificate_id of this OkvKeyDetails.

Return type

str

property directory_name

[Required] Gets the directory_name of this OkvKeyDetails. OKV wallet directory name

Returns

The directory_name of this OkvKeyDetails.

Return type

str

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 okv_kms_key

[Required] Gets the okv_kms_key of this OkvKeyDetails. UUID of OKV KMS Key

Returns

The okv_kms_key of this OkvKeyDetails.

Return type

str

property okv_uri

[Required] Gets the okv_uri of this OkvKeyDetails. URI of OKV server

Returns

The okv_uri of this OkvKeyDetails.

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