Closed
Description
I am using the example Examples/runtimes/java/DynamoDbEncryption/src/main/java/software/amazon/cryptography/examples/enhanced/EnhancedPutGetExample.java
as reference and trying to run GetItem and it results into the below error.
Request processing failed; nested exception is software.amazon.awssdk.core.exception.SdkClientException: Unable to unmarshall response (No Configured Keyring was able to decrypt the Data Key. The list of encountered Exceptions is available via `list`.). Response Code: 200, Response Text: OK] with root cause
poc-demo-app | software.amazon.cryptography.materialproviders.model.CollectionOfErrors: No Configured Keyring was able to decrypt the Data Key. The list of encountered Exceptions is available via `list`.
I have read the reasoning for the error here but not sure what i can do to fix it as I am not explicitly saving the data key while encrypting and saving the item. Also verified the permissions look good to me on the key. Can you share some pointers please?
Metadata
Metadata
Assignees
Labels
No labels