Class IncorrectKeyException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>

@Generated("software.amazon.awssdk:codegen") public final class IncorrectKeyException extends KmsException implements ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>

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.

See Also: