-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adds manual and automated root rotation support #221
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.
Looking good! Left some initial comments.
Invalidate: b.invalidate, | ||
InitializeFunc: b.initialize, | ||
Invalidate: b.invalidate, | ||
RotateCredential: b.rotateRootCredential, |
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.
Did we ever land on a decision around what the API will look like when we add support for static roles? Presumably it will be backwards compatible with this one?
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.
We haven't landed on a decision, but approaches we have discussed should be backwards compatible. Either a net new addition to the framework.Backend
to isolate static credential rotation methods (ex RotateStaticCredentials
). If that feels like overload, we can extend support on this method itself to include static role rotations, and conditionally use either/or based on the rotation job type
Overview
Adds a path and handler for
/rotate-root
similar to gcp secrets.Adds support for new automated root rotation manager in Vault Enterprise.
Contributor Checklist
[ ] Add relevant docs to upstream Vault repository, or sufficient reasoning why docs won’t be added yet
My Docs PR Link
Example
[ ] Add output for any tests not ran in CI to the PR description (eg, acceptance tests)
[ ] Backwards compatible