-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add KMS ReEncrypt Operation #12637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add KMS ReEncrypt Operation #12637
Conversation
test: first re-encrypt integration test
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome to LocalStack! Thanks for raising your first Pull Request and landing in your contributions. Our team will reach out with any reviews or feedbacks that we have shortly. We recommend joining our Slack Community and share your PR on the #community channel to share your contributions with us. Please make sure you are following our contributing guidelines and our Code of Conduct.
I have read the CLA Document and I hereby sign the CLA |
recheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising the PR!
It looks good overall, I have only some small points
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work on implementing the ReEncrypt
operation for KMS! 🚀
I just have few suggestions to further enhance the parity with AWS by adding a check for verifying the KeyUsage
. Once that’s in place, we can do a quick re-review and move forward with merging the PR 🎉 Thank you 🙌
@sannya-singal not sure where the |
@victor-martin-santiago could you please rebase your branch to |
Done! |
Thanks for reporting this @victor-martin-santiago, we are looking into this and should be fixed shortly 🙌 |
Thanks for the heads up @sannya-singal ! |
Hey @victor-martin-santiago, we have merged the fix for the issue, rebasing the branch should now resolve the issue. Thank you 🙌 |
Hey @sannya-singal , branch has been updated! |
❤️ |
Motivation
I'm creating this PR to add the implementation for the KMS ReEncrypt operation.
Changes
Adds an implementation for KMS ReEncrypt operation, based on the already existing Encrypt and Decrypt operations,
Testing
The changes have been covered by integration & AWS parity tests.
Optionally, the ReEncrypt operation can be tested using the below aws cli command