vault icon indicating copy to clipboard operation
vault copied to clipboard

ExpirationManager Revoke doesn't delete secondary index

Open rsyabuta opened this issue 11 years ago • 1 comments

https://github.com/hashicorp/vault/blob/master/vault/expiration.go#L198

I set a low TTL of 3 minutes for my auth/app-id backend, but noticed that the secondary indices created in sys/expire/token/ weren't being deleted even though leases were expiring as expected.

I think this should be removeIndexByToken rather than indexByToken

rsyabuta avatar Nov 04 '15 00:11 rsyabuta

Marking this to look at before 0.4 hits.

jefferai avatar Nov 04 '15 03:11 jefferai