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.
Documentation for read/write operation mentioned to use:
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.