Does regenerating a PAT expire the old? #142976
-
GitHub PATIn other words, does the 'regenerate' button just creating new tokens that are also valid, or is it invalidating the old one, and then creating a new one. BodyI believe the answer to this is 'yes', but I wanted to check with some other users since I can't find anything explicit in the docs about this, and I want to be 100% sure that the old tokens are no longer valid. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
This comment was marked as spam.
This comment was marked as spam.
-
|
I just tested this myself, and it seems that regenerating a token does cause the previous to expire 👍 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @sss-ng , Regenerating a new token means creating a new token with the same permissions as the old one, the old token is deactivated so any application that uses it will need to be updated with the newly regenerated token. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @davevad93 can I regenerate an equivalent token? |
Beta Was this translation helpful? Give feedback.
Hi @sss-ng ,
Regenerating a new token means creating a new token with the same permissions as the old one, the old token is deactivated so any application that uses it will need to be updated with the newly regenerated token.