Home > AI > Backend > Authentication >

access token

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

  1. Click on your username in the top right corner and select Account Settings.
  2. Select Security > New Access Token.
  3. 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.
  4. 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.
  5. Treat access tokens like your password and keep them secret. Store your tokens securely (for example, in a credential manager).

Leave a Reply