EncryptDataDetails

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

Bases: object

EncryptDataDetails model.

__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 associatedData 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 can be used to provide context for audit logging. It is a map that contains any addtional data the users may have and will be added to the audit logs (if 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