EncryptDataDetails

class oci.mysql.models.EncryptDataDetails(**kwargs)

Bases: object

Encrypt data details.

Attributes

KEY_GENERATION_TYPE_BYOK A constant which can be used with the key_generation_type property of a EncryptDataDetails.
KEY_GENERATION_TYPE_SYSTEM A constant which can be used with the key_generation_type property of a EncryptDataDetails.
key_generation_type [Required] Gets the key_generation_type of this EncryptDataDetails.
key_id Gets the key_id of this EncryptDataDetails.

Methods

__init__(**kwargs) Initializes a new EncryptDataDetails object with values from keyword arguments.
KEY_GENERATION_TYPE_BYOK = 'BYOK'

A constant which can be used with the key_generation_type property of a EncryptDataDetails. This constant has a value of “BYOK”

KEY_GENERATION_TYPE_SYSTEM = 'SYSTEM'

A constant which can be used with the key_generation_type property of a EncryptDataDetails. This constant has a value of “SYSTEM”

__init__(**kwargs)

Initializes a new EncryptDataDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key_id (str) – The value to assign to the key_id property of this EncryptDataDetails.
  • key_generation_type (str) – The value to assign to the key_generation_type property of this EncryptDataDetails. Allowed values for this property are: “SYSTEM”, “BYOK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
key_generation_type

[Required] Gets the key_generation_type of this EncryptDataDetails. Select whether to use Oracle-managed key (SYSTEM) or your own key (BYOK).

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

Returns:The key_generation_type of this EncryptDataDetails.
Return type:str
key_id

Gets the key_id of this EncryptDataDetails. The OCID of the key to use.

Returns:The key_id of this EncryptDataDetails.
Return type:str