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
- Struct
- Aws::KMS::Types::GenerateDataKeyResponse
- Defined in:
- (unknown)
Overview
Returned by:
Instance Attribute Summary collapse
-
#ciphertext_blob ⇒ String
The encrypted copy of the data key.
-
#key_id ⇒ String
The Amazon Resource Name ([key ARN][1]) of the CMK that encrypted the data key.
-
#plaintext ⇒ String
The plaintext data key.
Instance Attribute Details
#ciphertext_blob ⇒ String
The encrypted copy of the data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
#key_id ⇒ String
The Amazon Resource Name (key ARN) of the CMK that encrypted the data key.
#plaintext ⇒ String
The plaintext data key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.