fishi0x01 / vsh

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

'rm' is dangerous, recursively deletes tree with no confirmation #106

Open bedge opened 2 years ago

bedge commented 2 years ago

Any delete operation on a node which children should require a --force or prompt for confirmation.

Currently:

rm secrets/env/targetX

Deletes everything under secrets/env/targetX/* with no interaction.

That said, it is effective :)

fishi0x01 commented 2 years ago

Hi :wave:

Very valid point. Will add a --force flag for extra caution.

Thanks a lot for opening this issue!