Class: Aws::KMS::Types::DecryptRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::DecryptRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kms/types.rb
Overview
Note:
When making an API call, you may pass DecryptRequest data as a hash:
{
ciphertext_blob: "data", # required
encryption_context: {
"EncryptionContextKey" => "EncryptionContextValue",
},
grant_tokens: ["GrantTokenType"],
}
Instance Attribute Summary collapse
-
#ciphertext_blob ⇒ String
Ciphertext to be decrypted.
-
#encryption_context ⇒ Hash<String,String>
The encryption context.
-
#grant_tokens ⇒ Array<String>
A list of grant tokens.
Instance Attribute Details
#ciphertext_blob ⇒ String
Ciphertext to be decrypted. The blob includes metadata.
670 671 672 673 674 675 |
# File 'lib/aws-sdk-kms/types.rb', line 670 class DecryptRequest < Struct.new( :ciphertext_blob, :encryption_context, :grant_tokens) include Aws::Structure end |
#encryption_context ⇒ Hash<String,String>
The encryption context. If this was specified in the Encrypt function, it must be specified here or the decryption operation will fail. For more information, see [Encryption Context].
[1]: docs.aws.amazon.com/kms/latest/developerguide/encryption-context.html
670 671 672 673 674 675 |
# File 'lib/aws-sdk-kms/types.rb', line 670 class DecryptRequest < Struct.new( :ciphertext_blob, :encryption_context, :grant_tokens) include Aws::Structure end |
#grant_tokens ⇒ Array<String>
A list of grant tokens.
For more information, see [Grant Tokens] in the *AWS Key Management Service Developer Guide*.
[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#grant_token
670 671 672 673 674 675 |
# File 'lib/aws-sdk-kms/types.rb', line 670 class DecryptRequest < Struct.new( :ciphertext_blob, :encryption_context, :grant_tokens) include Aws::Structure end |