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

Read CA Certificate #138

Open keinproblem opened 6 years ago

keinproblem commented 6 years ago

While using the PKI Secrets Engine of Vault I came across a very basic functionality which seems to be not covered by the vault-java-driver lib.

A simple operation to retrieve the CA Certificate is described here: https://www.vaultproject.io/api/secret/pki/index.html#read-ca-certificate.

Inspecting the vault-java-driver lib a little bit further, did not find the equvalent for this operation. Perhaps I just missed something in the docs, but even if it exists I would have assumed that a respective method would not that hidden. In my opinion this functionality should be granted by the com.bettercloud.vault.api.pki.Pki implementation.