Creating and managing personal access tokens
What’s a personal access token? Think of a personal access token (PAT) as a special password that you can create to access your GitHub account, without using your regular password. It’s a way to let certain apps or tools have limited access to your account.
How to create a PAT
Follow these steps to create a PAT:
- Go to your GitHub account in your web browser and log in. Now, click on your profile picture in the top-right corner and select Settings from the drop-down menu:
![Figure 2.19 – Token creation user settings menu](https://static.packt-cdn.com/products/9781835463048/graphics/image/B21847_02_19.jpg)
Figure 2.19 – Token creation user settings menu
- On the left sidebar, click Developer settings:
![Figure 2.20 – Token creation: developer settings](https://static.packt-cdn.com/products/9781835463048/graphics/image/B21847_02_20.jpg)
Figure 2.20 – Token creation: developer settings
- Now click on Personal access tokens.
- Select Tokens (classic):
![Figure 2.21 – Token creation: classic token](https://static.packt-cdn.com/products/9781835463048/graphics/image/B21847_02_21.jpg)
Figure 2.21 – Token creation: classic token
Now, let’s look at how to make your token.
- Click...