Skip to content

use refreshable tokens for api auth #1044

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

Merged
merged 1 commit into from
May 1, 2025
Merged

use refreshable tokens for api auth #1044

merged 1 commit into from
May 1, 2025

Conversation

piax93
Copy link
Contributor

@piax93 piax93 commented Apr 30, 2025

The new version adds an option to use an authentication flow with refresh tokens, which will allow tronctl commands to be run unattended for over the set duration of an identity token (which is fixed to 1 hour). Refresh tokens are valid for 90 days, which should be more than enough for all use cases.

@piax93 piax93 requested a review from a team as a code owner April 30, 2025 10:26
@nemacysts
Copy link
Member

@piax93 just curious: can this be merged/released at any time or does this require doing any puppet/etc shenanigans in preparation?

@nemacysts
Copy link
Member

cc @Qmando since you might know the answer to that as well

@piax93
Copy link
Contributor Author

piax93 commented May 1, 2025

@nemacysts It can be released. The Puppet shenanigans were already done.

@KaspariK KaspariK merged commit 211bc9b into master May 1, 2025
4 checks passed
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.

3 participants