personal access tokens as alternatives to your password.
Using personal access tokens provides some advantages over a password:
- You can investigate when an access token was used last, and disable or delete it if you find any suspicious activity.
- When logged in with an access token, you can’t perform any admin activity on the account, including changing the password.
- Access tokens are also useful in building integrations, since you can issue multiple tokens – one for each integration – and revoke them at any time.
Create an access token
- Click on your username in the top right corner and select Account Settings.
- Select Security > New Access Token.
- Add a description for your token. Use something that indicates where the token is going to be used, or set a purpose for the token.
- Copy the token that appears on the screen. Make sure you do this now: once you close this prompt, Docker will never show the token again.
- Treat access tokens like your password and keep them secret. Store your tokens securely (for example, in a credential manager).