Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Optional switch for validating cached leases with the Vault server before returning them #46

Closed
lkubb opened this issue Apr 24, 2024 · 0 comments · Fixed by #44
Assignees

Comments

@lkubb
Copy link
Collaborator

lkubb commented Apr 24, 2024

Is your feature request related to a problem? Please describe.
The LeaseStore is intended to handle operations on (cached) leases. The get function validates that the cached lease is not expired (and tries to renew it if necessary before returning).

If a lease is not due for renewal and has been revoked on the server, this is currently not caught.

Describe the solution you'd like
Introduce an optional switch check_server that causes the store to check with the server that the cached lease is still valid.

Describe alternatives you've considered
Do a manual lease lookup before using it.

@lkubb lkubb mentioned this issue Apr 24, 2024
3 tasks
@lkubb lkubb self-assigned this Apr 24, 2024
@lkubb lkubb closed this as completed in #44 Apr 24, 2024
@lkubb lkubb closed this as completed in 5430e54 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant