BetterCloud / vault-java-driver

Zero-dependency Java client for HashiCorp's Vault
https://bettercloud.github.io/vault-java-driver/
335 stars 224 forks source link

logical delete for v2 not working any longer #179

Open markusweisssiemens opened 5 years ago

markusweisssiemens commented 5 years ago

Hi,

I'm running Vault v1.1.2 engine version 2 on Windows and that line causes a permission denied:

https://github.com/BetterCloud/vault-java-driver/blob/93c5c1720a80c06baf59c8587dc38e661bd2adc4/src/main/java/com/bettercloud/vault/api/LogicalUtilities.java#L109

because the path with the qualifier "metadata" is wrong and should be "data" as in the read. With this change it's working fine on my machine.

Thanks

sfc-gh-dkarp commented 4 years ago

This does appear to be broken. Can this change be included in 5.2?

sfc-gh-dkarp commented 4 years ago

https://github.com/BetterCloud/vault-java-driver/pull/213 submitted.