Feature Request: Hide soft deleted secret from Vault UI #8432
Labels
community-sentiment
Tracking high-profile issues from the community
enhancement
feature-request
secret/kv
ui
Is your feature request related to a problem? Please describe.
After using vault for some time, we are having more and more secrets that we don't need anymore. So we delete the latest version of the secrets. However, the secret still show up in the UI and it is getting harder to navigate everyday.
Describe the solution you'd like
It would be nice to have a setting that could be enabled by a user to hide the secrets where the latest version is deleted from the UI. This setting could be turned off in case the user needs to search a secret that has been deleted and undelete it.
An even simpler solution could be to split the List in two. The main one for the secrets, and one at the bottom for the soft deleted secrets.
Describe alternatives you've considered
Instead of a general user setting, it could be a new operation that could be done on a secret to hide it or not from the UI. The hide operation could be triggered from the UI or the API, and the unhide only from the API. Of course, this needs more changes since it affects the API and not only the UI and might not be the best approach.
Additional context
We understand that secrets and metadata can be destroyed so it does not show up in the UI anymore, but that would remove the ability to undelete a secret and the only way we could retrieve it would be to restore a backup. For this reason, we do not give users the permission to destroy a secret.
I am referring to the Secret Engine K/V version 2.
The text was updated successfully, but these errors were encountered: