Class: Aws::KMS::Types::IncorrectKeyException

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

Overview

The request was rejected because the specified KMS key cannot decrypt the data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request must identify the same KMS key that was used to encrypt the ciphertext.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

Returns:

  • (String)


4025
4026
4027
4028
4029
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 4025

class IncorrectKeyException < Struct.new(
  :message)
  SENSITIVE = []
  include Aws::Structure
end