GenerateKeyDetails

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

Bases: object

GenerateKeyDetails model.

__init__(**kwargs)

Initializes a new GenerateKeyDetails 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 GenerateKeyDetails.
  • include_plaintext_key (bool) -- The value to assign to the include_plaintext_key property of this GenerateKeyDetails.
  • key_id (str) -- The value to assign to the key_id property of this GenerateKeyDetails.
  • key_shape (KeyShape) -- The value to assign to the key_shape property of this GenerateKeyDetails.
  • logging_context (dict(str, str)) -- The value to assign to the logging_context property of this GenerateKeyDetails.
associated_data

Gets the associated_data of this GenerateKeyDetails. 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 GenerateKeyDetails.
Return type:dict(str, str)
include_plaintext_key

[Required] Gets the include_plaintext_key of this GenerateKeyDetails. If true, the generated key is also returned unencrypted.

Returns:The include_plaintext_key of this GenerateKeyDetails.
Return type:bool
key_id

[Required] Gets the key_id of this GenerateKeyDetails. The OCID of the master encryption key to encrypt the generated data encryption key with.

Returns:The key_id of this GenerateKeyDetails.
Return type:str
key_shape

[Required] Gets the key_shape of this GenerateKeyDetails.

Returns:The key_shape of this GenerateKeyDetails.
Return type:KeyShape
logging_context

Gets the logging_context of this GenerateKeyDetails. 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 GenerateKeyDetails.
Return type:dict(str, str)