-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: add Database static role password rotation #14268
Conversation
…tic-role-pw-rotation
@@ -130,4 +130,6 @@ export default Model.extend({ | |||
canGetCredentials: alias('staticCredentialPath.canRead'), | |||
databasePath: lazyCapabilities(apiPath`${'backend'}/config/${'database[0]'}`, 'backend', 'database'), | |||
canUpdateDb: alias('databasePath.canUpdate'), | |||
rotateRolePath: lazyCapabilities(apiPath`${'backend'}/rotate-role/${'id'}`, 'backend', 'id'), |
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.
nice!
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.
Looks good to me, but wanted to see if design had a chance to review. I suspect it's totally fine, but thought it worth pointing out.
Good question, I ran it by Ivana and she made a note about the toolbar buttons not quite aligning, but we'll handle that in a separate PR since it's a far-reaching change |
Building off @berciq's work on #11941, this PR adds the ability to rotate Database secret engine static credentials in the UI from both the role list page and role show page.
Options on static type roles now have rotate credentials option
Options on dynamic type roles do not have the option
New toolbar options on static role