jonasvinther / medusa

A cli tool for importing and exporting Hashicorp Vault secrets
MIT License
482 stars 62 forks source link

Failure when the last version of secret is deleted #133

Closed andrewsav-bt closed 1 year ago

andrewsav-bt commented 1 year ago

Error while reading secret

Is what I'm seeing when running medusa export MySecrets -o secrets.yaml if there is a secret anywhere where the last version of the secret is deleted (but not destroyed). No output is produced in that case.

Would it be possible not to fail hard in this scenario, it's not really a error....

2023/09/01 08:28:40 Error while reading secret
Path:   MySecrets/data//Path/To/Secret
Data:   <nil>

Also note the double up if / in the message above, is this intentional?

andrewsav-bt commented 1 year ago

Wrong account