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

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

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertext_blobString

The encrypted data encryption key.

Returns:

  • (String)


840
841
842
843
844
845
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 840

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)


840
841
842
843
844
845
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 840

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

#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)


840
841
842
843
844
845
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 840

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