OciKeyDetails¶
- class oci.database.models.OciKeyDetails(**kwargs)¶
Bases:
AutonomousDatabaseEncryptionKeyDetailsDetails for OCI encryption key.
Attributes:
A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.
A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.
A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.
A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.
A constant which can be used with the provider property of a AutonomousDatabaseEncryptionKeyDetails.
[Required] Gets the kms_key_id of this OciKeyDetails.
Gets the provider of this AutonomousDatabaseEncryptionKeyDetails.
[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
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 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