chiefy / vaulted

nodejs based wrapper for HashiCorp's Vault HTTP API
https://chiefy.github.io/vaulted
MIT License
47 stars 6 forks source link

revokeLeasePrefix and revokeLease #60

Closed jmls closed 8 years ago

jmls commented 8 years ago

from what I can see in the docs there is no difference between the two methods. the description for revokeLeasePrefix states Revoke the lease on all secrets under the specified prefix immediately

yet there are no documented options for specifying the prefix ...

kenjones-cisco commented 8 years ago

revokeLease expects a lease_id where as revokeLeasePrefix is looking for a secret path prefix.

Docs updated with commit 6151cde993bc7dcf9abf4bf65f88ee3357efddc5