BetterCloud / vault-java-driver

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

Error in Readme #130

Open anarwal27 opened 6 years ago

anarwal27 commented 6 years ago

Documentation for read/write operation mentioned to use:

// Read operation
final String value = vault.logical()
                       .read("secret/hello")
                       .getData().get("value");

where secret engine path showed here is secret/hello, however Hashicorp documentation has it as following: /secret/data/:path or we would use /secret/data/hello

After testing both the options, /secret/data/hello seems to have worked for me. This might need to be updated in Readme.