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

vault: implement authentication token renewal #428

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

aead
Copy link
Member

@aead aead commented Jan 10, 2024

This commit re-implements token renewal after it
got removed by 13cee22.

Now, the token renewal process works as following:

  • If the token is about to expire (max. 10s before expiry) we try to renew the token if renewable.
  • If the renewal fails, or the token is not renewable, KES tries to re-authenticate with the configured auth method.
  • If re-authenticating also fails, we retry after 3s.

This commit re-implements token renewal after it
got removed by 13cee22.

Now, the token renewal process works as following:
 - If the token is about to expire (max. 10s before expiry)
   we try to renew the token if renewable.
 - If the renewal fails, or the token is not renewable,
   KES tries to re-authenticate with the configured auth method.
 - If re-authenticating also fails, we retry after 3s.
@aead aead merged commit 877a8ae into master Jan 10, 2024
7 checks passed
@aead aead deleted the vault-token-renew branch January 10, 2024 19:42
@harshavardhana
Copy link
Member

We need a release here @aead ?

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 this pull request may close these issues.

None yet

2 participants