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

Provide renewable tokens #55

Open
tionebsalocin opened this issue Nov 25, 2020 · 2 comments
Open

Provide renewable tokens #55

tionebsalocin opened this issue Nov 25, 2020 · 2 comments

Comments

@tionebsalocin
Copy link

Hello,

Tokens issued by this plugin are not renewable.
I see that it is by design but I would like to have a second thought on this.
For long-running applications, it would be much more effective to be able to renew vault tokens than going through the whole authentication process at every expiration.
Don't you think it would be a nice feature to be able to enable renewability?

@pmv
Copy link

pmv commented Sep 23, 2021

I second this request. Java developers should be able to use spring-cloud-vault's lease lifecycle management (https://cloud.spring.io/spring-cloud-vault/multi/multi_vault-lease-renewal.html) to automatically handle token renewal / re-authentication. This feature does not currently work with Kerberos since the token is marked as not renewable.

In our environment, I am able to authenticate to vault with LDAP or Kerberos. If I authenticate with LDAP, I get a renewable token and the spring functionality works. If I authenticate with Kerberos, I'll get a non-renewable token and it is broken.

@fairclothjm
Copy link
Contributor

Thank you for submitting this request! For others who are interested in this, please stick a 👍 on this issue. We’re currently developing an internal process to review and prioritize feature requests.

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

No branches or pull requests

3 participants