fishi0x01 / vsh

vsh - HashiCorp Vault interactive shell and cli tool
MIT License
284 stars 12 forks source link

Search for soft deleted secrets #109

Open JulianNeuhaus27 opened 1 year ago

JulianNeuhaus27 commented 1 year ago

It would be great if the grep command could be extended to search in a path not for a substring, but for soft deleted secrets. Maybe even use a new command name for this feature.

The scenario is, that you might not want to give too many people in a KV2 the permission to permanently delete secrets, so only a group of very skilled, reliable and experienced persons should be able to perform this operation. And instead of endless messages with all the path's and secrets that should be deleted it would be nice to just search for all soft deleted secrets so they can be moved/deleted.

Hope to see you around Karl 😉

fishi0x01 commented 1 year ago

Hey! :wave: :smiley:

Good idea! Will mark this as a feature request :+1: Truth be told, Im not sure when I will find the time to get to this, but at least it is on the list now.

Thank you and hopefully there is another D4L SRE pizza meeting soon!