This repository was archived by the owner on May 1, 2024. It is now read-only.
Regenerate expired Granular Access Tokens #1088
Unanswered
ericcornelissen
asked this question in
Website
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With fine grained tokens it is possible to create tokens that expire after a while. In many scenarios this means a new token must be generated after that and in all likelihood this new token should have the exact same configuration as the original token. Currently this requires creating a new token from scratch and configuring it in the same way as the previous token. If it were possible to regenerate an existing token (using the existing configuration) this would make token rotation a lot easier.
As a point of comparison, GitHub has this functionality for Personal Access Tokens, see https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/refreshing-user-access-tokens.
This request is related to #849 in that it can help alleviate the operational overhead of expiring tokens a bit (though I do not mean to suggest it's substitute for that request).
Beta Was this translation helpful? Give feedback.
All reactions