EncryptDataDetails

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

Bases: object

EncryptDataDetails model.

Methods

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

Attributes

associated_data Gets the associated_data of this EncryptDataDetails.
key_id [Required] Gets the key_id of this EncryptDataDetails.
logging_context Gets the logging_context of this EncryptDataDetails.
plaintext [Required] Gets the plaintext of this EncryptDataDetails.
__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:
  • associated_data (dict(str, str)) – The value to assign to the associated_data property of this EncryptDataDetails.
  • key_id (str) – The value to assign to the key_id property of this EncryptDataDetails.
  • logging_context (dict(str, str)) – The value to assign to the logging_context property of this EncryptDataDetails.
  • plaintext (str) – The value to assign to the plaintext property of this EncryptDataDetails.
associated_data

Gets the associated_data of this EncryptDataDetails. Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters.

Returns:The associated_data of this EncryptDataDetails.
Return type:dict(str, str)
key_id

[Required] Gets the key_id of this EncryptDataDetails. The OCID of the key to encrypt with.

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

Gets the logging_context of this EncryptDataDetails. Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in the audit logs when audit logging is enabled.

Returns:The logging_context of this EncryptDataDetails.
Return type:dict(str, str)
plaintext

[Required] Gets the plaintext of this EncryptDataDetails. The plaintext data to encrypt.

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