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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertext_blobString

The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded.

Returns:

  • (String)


1250
1251
1252
1253
1254
1255
# File 'lib/aws-sdk-kms/types.rb', line 1250

class GenerateDataKeyResponse < Struct.new(
  :ciphertext_blob,
  :plaintext,
  :key_id)
  include Aws::Structure
end

#key_idString

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

Returns:

  • (String)


1250
1251
1252
1253
1254
1255
# File 'lib/aws-sdk-kms/types.rb', line 1250

class GenerateDataKeyResponse < Struct.new(
  :ciphertext_blob,
  :plaintext,
  :key_id)
  include Aws::Structure
end

#plaintextString

The data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encdoded. Otherwise, it is not encoded. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.

Returns:

  • (String)


1250
1251
1252
1253
1254
1255
# File 'lib/aws-sdk-kms/types.rb', line 1250

class GenerateDataKeyResponse < Struct.new(
  :ciphertext_blob,
  :plaintext,
  :key_id)
  include Aws::Structure
end