bug: KMS decrypt fails for symmetric decryption when KeyId
is provided
#12530
Labels
aws:kms
AWS Key Management Service
status: backlog
Triaged but not yet being worked on
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
When decrypting data encrypted using symmetric encryption, the keyId is included in the ciphertext blob and does not need to be provided. However, when providing the keyId, localstack fails with an error:
This only seems to happen when invoked from Lambda, I'm unable to reproduce this when directly invoking the API using the AWS SDK.
Expected Behavior
KMS decrypt succeeds also when KeyId is provided.
How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
I'll try to create a minimal Lambda function that can reproduce the problem.
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: