Class: Aws::KMS::Types::GenerateDataKeyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::GenerateDataKeyResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kms/types.rb
Overview
Instance Attribute Summary collapse
-
#ciphertext_blob ⇒ String
The encrypted data encryption key.
-
#key_id ⇒ String
The identifier of the CMK under which the data encryption key was generated and encrypted.
-
#plaintext ⇒ String
The data encryption key.
Instance Attribute Details
#ciphertext_blob ⇒ String
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.
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_id ⇒ String
The identifier of the CMK under which the data encryption key was generated and encrypted.
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 |
#plaintext ⇒ String
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.
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 |