peopledoc/vault-cli

delete-all not working for me

Opened this issue · 0 comments

First thing to note is that when I run commands against vault I need to specify "/data/" before the name.

vault-cli delete-all import_test/data/hvac-test

instead of just

vault-cli delete-all import_test/hvac-test

In this case "import_test" is the mount point of a key/value secret engine. "hvac-test" is a folder containing other secrets.

Second I find that calling this just deletes the key/value pairs in the secret, not the secret itself.

Furthermore if hvac-test is a folder with secrets under it, those secrets are not getting deleted.

Version information

>vault-cli -V
vault-cli 3.1.0
License: Apache Software License