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-encoded. Otherwise, it is not encoded.
904 905 906 907 908 909 |
# File 'lib/aws-sdk-kms/types.rb', line 904 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.
904 905 906 907 908 909 |
# File 'lib/aws-sdk-kms/types.rb', line 904 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-encoded. Otherwise, it is not encoded. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.
904 905 906 907 908 909 |
# File 'lib/aws-sdk-kms/types.rb', line 904 class GenerateDataKeyResponse < Struct.new( :ciphertext_blob, :plaintext, :key_id) include Aws::Structure end |