GitHub Personal Access Tokens
These expire annually.
We use a couple for testing and automated access.
Creation
To create a new token, open the GitHub page.
Click on your profile in the upper right.
Scroll down and click Settings.
Scroll down to the bottom of the left-hand menu, and click on Developer Settings.
Expand the Personal Access Tokens node, and select Fine-Grained Tokens.
It will list any tokens you currently have and their expiry.
To make a new one, click Generate New Token.
Give it a meaningful token name.
Ideally, this will be a multi-term token, such as:
<username>-<purpose>-<dateofissue>
For example, the user's pat may be:
LeeWhite187-UserAccess-20260426
User Access Token Specifics
The current token name is:
LeeWhite187-UserAccess-20260426
Expiry, set to one year from creation.
Repository Access, set to All Repositories.
Here are added permissions:
- Commit Statuses - Access: Read Only
- Contents - Access: Read Only
- Environments - Access: Read Only
- Issues - Access: Read Only
- Metadata - Access: Read Only (Grayed Out)
- Commit Statuses - Access: Read Only
- Pull Requests - Access: Read Only


