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

FIX: Vault::Api::Leases url to match Hashicorp Vault API #163

Closed goodrum closed 5 years ago

goodrum commented 5 years ago

This Pull-request modifies the URL used when performing a lease revoke. I ran into this issue using the Hashicorp Vault Jenkins plugin to create ondemand AWS credentials which needed to be revoked at the end of the step. The current URL returns a 404 since it does not exist or in my case a 403 as /sys/revoke wasn't in the Jenkins user policy.

steve-perkins commented 5 years ago

Thanks @goodrum!