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

Do not send namespace on health requests #205

Open abedra opened 4 years ago

abedra commented 4 years ago

Vault does not expose sys/health to namespaces. The Debug class incorrectly appends the namespace header to the health request, which causes a 404 response. This happens at https://github.com/BetterCloud/vault-java-driver/blob/709b81553dfa50a1b339bd53162adad057f9510c/src/main/java/com/bettercloud/vault/api/Debug.java#L94