Skip to content

Extract KMS key ID from ciphertext #442

Answered by Velfi
rosscanning asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I know, we don't have any SDK-specific capability for doing so. It's possible that you might find a method to read the metadata but I can't seem to find anything showing how to do it; Only some search results saying it can be done. Looking at the KMS Decrypt API, it seems that the key ID isn't required for things encrypted with a symmetric key. Maybe that applies to your case?

Sorry I couldn't be of more help.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rosscanning
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants