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

support for token renewal once max token_num_uses is reached #790

Closed
ynorenko opened this issue May 17, 2023 · 1 comment
Closed

support for token renewal once max token_num_uses is reached #790

ynorenko opened this issue May 17, 2023 · 1 comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com

Comments

@ynorenko
Copy link

ynorenko commented May 17, 2023

We use AppRole authentication and we specify token_num_uses = 10 (The maximum number of times a generated token may be used (within its lifetime). We would like the token to be automatically renewed once the max token_num_uses is reached. I don't see any support for this currently, is this correct ? Is it possible to achieve this with the current setup? If so what's the best way to achieve it?

@mp911de
Copy link
Member

mp911de commented May 22, 2023

Currently, there's no out-of-the-box renewal for the secure introduction problem that results from rotating the initial credentials. I suggest that you create a wrapper around ClientAuthentication and rotate your app-role credentials by constructing AppRoleAuthentication instances with the desired configuration holding the current values.

@mp911de mp911de added the for: stackoverflow A question that's better suited to stackoverflow.com label May 22, 2023
@mp911de mp911de closed this as not planned Won't fix, can't repro, duplicate, stale May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: stackoverflow A question that's better suited to stackoverflow.com
Projects
None yet
Development

No branches or pull requests

2 participants