jonasvinther / medusa

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

Failure when the last version of secret is deleted #134

Closed AndrewSav closed 4 weeks ago

AndrewSav 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 of / in the message above, is this intentional?

vftaylor commented 1 year ago

Having this exact issue.