OciProviderSetKeyVersionDetails¶
- class oci.database.models.OciProviderSetKeyVersionDetails(**kwargs)¶
Bases:
SetKeyVersionDetailsUsed for setting KMS key versions
Attributes:
A constant which can be used with the provider property of a SetKeyVersionDetails.
[Required] Gets the kms_key_version_id of this OciProviderSetKeyVersionDetails.
[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'¶
A constant which can be used with the provider property of a SetKeyVersionDetails. This constant has a value of “OCI”
- __init__(**kwargs)¶
Initializes a new OciProviderSetKeyVersionDetails object with values from keyword arguments. The default value of the
providerattribute of this class isOCIand 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.
- property 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 AI Database Serverless does not use key versions, hence is not applicable for Autonomous AI Database Serverless instances.
- Returns
The kms_key_version_id of this OciProviderSetKeyVersionDetails.
- Return type
str
- property 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