Using Personal access Tokens on multiple systems #23576
-
If I switch to using these, how can I transfer the token to other computers that I use the same github account from. ATM I cannot see a way to achieve this … I can’t use them unless I can transfer the toke between systems (Windows and Linux). David |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
You have two options:
It’s really up to you what you prefer. I use option 1: I store the token in my password manager of choice, and when I synchronize its database between my systems the token comes along. 🙂 If you want the option to revoke the token for one system without having to update the other option 2 is better. |
Beta Was this translation helpful? Give feedback.
-
So is it just a “long password” that can be stored in e.g. Firefox password mgr? Or if it is stored in Windows credential mgr, how to transport to Linux? So for clarification can I multiple active PATs for the same Github user? PS when does password access go away? David |
Beta Was this translation helpful? Give feedback.
-
perdrix52:
Pretty much, yes.
perdrix52:
Yes. And if you use them for separate purposes you should, to minimize access rights for each application.
perdrix52:
It already has: Git password authentication is shutting down | GitHub Changelog You still need your password for the website. |
Beta Was this translation helpful? Give feedback.
-
Fwiw, while a PAT appears as a “long password”, it’s a token that’s a proxy for some portion of your credentials and this allows you to add restrictions regarding how it can be used. At a basic restriction, it shouldn’t be possible to log into the web site github.com with this password. But, you could also restrict it to only perform some even more limited set of tasks. You could create a PAT that can’t access your private github repositories – it wouldn’t be terribly useful for |
Beta Was this translation helpful? Give feedback.
You have two options:
It’s really up to you what you prefer. I use option 1: I store the token in my password manager of choice, and when I synchronize its database between my systems the token comes along. 🙂
If you want the option to revoke the token for one system without having to update the other option 2 is better.