-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
kms: support for key rotation period #29927
kms: support for key rotation period #29927
Comments
@badmintoncryer , there is already a somewhat similar feature request in the past for enabling key rotation. See this -#22125. As mentioned in AWS Docs and suggested here in comments as well
Please feel free to reach out if this one is different. |
Yes that's true , you are talking about rotation period. I might be wrong @pahud , wdyt? |
@khushail This feature request is intended for users who do not mind the additional costs and want to perform key rotations. Currently, the only setting available is the default 365 days. Therefore, even if key rotation is disabled by default, I believe there is still merit in implementing this feature. Additionally, my understanding is that the discussion in issue #22125 revolves around the keys that are automatically generated at bootstrap. Indeed, it would be hard to accept if this setting incurs additional charges. This time, we are considering an option for keys freely created by users. Wouldn't this be a different situation from the previous issue? What are your thoughts about this? |
Hmmm, I understand your point of view in enabling this feature. Marking this as appropriate. |
### Issue # (if applicable) Closes #29927. ### Reason for this change Cloudformation [supports for configuring period of automatic key rotation](https://docs.aws.amazon.com/ja_jp/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-rotationperiodindays) but CDK does not. ### Description of changes Added `rotationPeriod` to `KeyProps`. ### Description of how you validated changes I've added both unit and integ tests. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one. |
Describe the feature
Configuring automatic key rotation period.
Use Case
Cloudformation supports for configuring period of automatic key rotation but CDK does not.
Proposed Solution
No response
Other Information
No response
Acknowledgements
CDK version used
2.127.0
Environment details (OS name and version, etc.)
irrelevant
The text was updated successfully, but these errors were encountered: