OciProviderSetKeyVersionDetails

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

Bases: oci.database.models.set_key_version_details.SetKeyVersionDetails

Used for setting KMS key versions

Attributes

PROVIDER_OCI str(object=’’) -> str
kms_key_version_id [Required] Gets the kms_key_version_id of this OciProviderSetKeyVersionDetails.
provider [Required] Gets the provider of this SetKeyVersionDetails.

Methods

__init__(**kwargs) Initializes a new OciProviderSetKeyVersionDetails 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_OCI = 'OCI'
__init__(**kwargs)

Initializes a new OciProviderSetKeyVersionDetails 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 OciProviderSetKeyVersionDetails. Allowed values for this property are: “OCI”
  • kms_key_version_id (str) – The value to assign to the kms_key_version_id property of this OciProviderSetKeyVersionDetails.
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_version_id

[Required] Gets the kms_key_version_id of this OciProviderSetKeyVersionDetails. The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. Autonomous Database Serverless does not use key versions, hence is not applicable for Autonomous Database Serverless instances.

Returns:The kms_key_version_id of this OciProviderSetKeyVersionDetails.
Return type:str
provider

[Required] Gets the provider of this SetKeyVersionDetails. Source of key version.

Allowed values for this property are: “OCI”

Returns:The provider of this SetKeyVersionDetails.
Return type:str