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.
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.