-
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
Vault UI "Generate credentials" functionality should instead be called "Get credentials" for static database roles #11973
Comments
Hello! I'm raising this for discussion with our UI team. With the Canada Day and July 4th holidays, it may be next week before I can get in touch with them. I'll be sure to be in touch then. Thank you for this feedback! |
Just wanted to follow up - I've raised this issue with our UI team, and we'll be taking an item in an upcoming sprint to address it. I'm not exactly sure when that will be, but it will be worked on. Thanks for your patience! |
Thank you, Heather! I'd be happy to contribute to improving the UI in this area as well :) |
The following PR fixes this: #12148 |
@berciq Very nice, thank you for catching that and for submitting the PR. :) |
Describe the bug
The database plugin allows for creating static and dynamic roles. For both types of roles the Vault UI has a "Generate credentials" option. This makes sense for a dynamic database role, because new credentials are, in fact, generated each time this option is used. But the name of this option is misleading for a static role, since Vault UI will display the existing credentials upon selecting this option. What is more, Vault UI displays a warning message when selecting "Generate credentials" that says: "You will not be able to access these credentials later, so please copy them now." But this is only true for a dynamic role and not for a static role. The warning message should not be displayed for the static role, since the credentials can, in fact, be accessed later.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For static database roles, the option to "Generate credentials" should instead be called something like "Get credentials".
In addition, for static roles, the page where the credentials are displayed should not show the warning message that says: "You will not be able to access these credentials later, so please copy them now."
Environment:
vault status
): Vault 1.8.0-devScreenshots:
The text was updated successfully, but these errors were encountered: