BetterCloud / vault-java-driver

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

Clarification on prefixPath #223

Closed jbcraig closed 3 years ago

jbcraig commented 4 years ago

The term prefixPath is a bit confusing for me. Am I correct that this value should be set to the KV2 secret engine path value (previously referred to as mount-point) and only comes into play with KV2 secrets?

Thanks, your efforts and accomplishments are appreciated.

rtib commented 4 years ago

It's the length, i.e. the number of slashed, of the mount point name where the KV2 engine is mounted on. The vault CLI client is acquiring this by requesting /sys/mounts for every request.