ExternalHsmEncryptionDetails

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

Bases: oci.database.models.encryption_key_location_details.EncryptionKeyLocationDetails

Details for External HSM Input

Attributes

PROVIDER_TYPE_EXTERNAL str(object=’’) -> str
hsm_password [Required] Gets the hsm_password of this ExternalHsmEncryptionDetails.
provider_type [Required] Gets the provider_type of this EncryptionKeyLocationDetails.

Methods

__init__(**kwargs) Initializes a new ExternalHsmEncryptionDetails 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_TYPE_EXTERNAL = 'EXTERNAL'
__init__(**kwargs)

Initializes a new ExternalHsmEncryptionDetails object with values from keyword arguments. The default value of the provider_type attribute of this class is EXTERNAL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • provider_type (str) – The value to assign to the provider_type property of this ExternalHsmEncryptionDetails. Allowed values for this property are: “EXTERNAL”
  • hsm_password (str) – The value to assign to the hsm_password property of this ExternalHsmEncryptionDetails.
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.

hsm_password

[Required] Gets the hsm_password of this ExternalHsmEncryptionDetails. Provide the HSM password as you would in RDBMS for External HSM.

Returns:The hsm_password of this ExternalHsmEncryptionDetails.
Return type:str
provider_type

[Required] Gets the provider_type of this EncryptionKeyLocationDetails. Use ‘EXTERNAL’ for creating a new database or migrate database key with External HSM.

Allowed values for this property are: “EXTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The provider_type of this EncryptionKeyLocationDetails.
Return type:str