-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
KMS: return NotImplementedError
for rotation of imported keys
#12932
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
Conversation
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.
LGTM 🚀
LocalStack Community integration with Pro 2 files 2 suites 4m 33s ⏱️ Results for commit 40a5ce0. ♻️ This comment has been updated with latest results. |
The pipeline failed: https://github.com/localstack/localstack/actions/runs/16620811305/job/47024507676?pr=12932 because |
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 17m 48s ⏱️ Results for commit 40a5ce0. |
Motivation
After the launch of this feature, AWS introduced support for on demand rotation of imported keys i.e. keys with
Origin
set toEXTERNAL
.At the moment, LocalStack does not support this feature and we return a
400
error withUnsupportedOperationException
even though the request itself is valid.Changes
Raise appropriate error response with error code
501
when rotation of keys is done with imported keys.Please note, this PR does not aim to fix existing tests and other logic in the code which revolves around assuming that external keys are unsupported, this should be tackled in a separate PR.