Personal Access Tokens
The Personal Access Token endpoints lets you manage personal access tokens. For more information, see Access Tokens.
You can use a personal access token instead of a password in the Docker CLI or in the Create an authentication token route to obtain a bearer token.
Scopes
For each scope grouping (in this case "repo"), you only need to define 1 scope as any lower scopes are assumed.
For example: If you define repo:write
, the API assumes the scope of both repo:read
and repo:public_read
as well.
If you were to define both repo:write
and repo:read
, then repo:read
is assumed by repo:write
and ignored.
Treat your personal access token like your password and keep it secret. You cannot retrieve your token after it is generated.