(rds): additional single-user secret rotation
See original GitHub issueAs a user, I want to add additional single-user secret rotation to RDS instance.
Use Case
We have an RDS instance in which we created a administrator user. We need to add a secret rotation to it, and since we’re using it only during the application startup, it doesn’t need to rotate in multi-user manner (please note that we can’t use multi-user rotation for this secret). If I understand it correctly, addRotationSingleUser
adds a rotation to only the master secret of the DB instance.
It would be nice to use the method to add single-user rotation for additional secrets.
Proposed Solution
instance.addRotationSingleUser("AddtionalSigleUserRotation", {
secret: someSecret // Is it possible to add this to RotationSingleUserOptions similar to RotationMultiUserOptions?
});
Other
My understand is that if we refactor addRotationSingleUser
to check if secret
in the given options is null, then it’s a rotation for the master secret, otherwise it’s a new one. I took a quick look at the implementation and I think it’s possible to do so.
- 👋 I may be able to implement this feature request
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:19 (8 by maintainers)
Top GitHub Comments
Oops, sorry, there it is #13799.
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.