You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::KMS::Types::GenerateDataKeyResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertext_blobString

The encrypted data encryption key.

Returns:

  • (String)

    The encrypted data encryption key.

#key_idString

The identifier of the CMK under which the data encryption key was generated and encrypted.

Returns:

  • (String)

    The identifier of the CMK under which the data encryption key was generated and encrypted.

#plaintextString

The data encryption key. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.

Returns:

  • (String)

    The data encryption key.