Create a Token
Last updated
Last updated
Once you have created a Container Registry, you will want to create one or more tokens to provide (and control) access to your registry.
1. To create a Token for a Container Registry, go to Menu > Containers > Container Registry.
2. In the Container Registry Manager, select the Container Registry that you want to configure.
3. Click on the + Add in the Tokens section to create a new Token
4. Complete the following fields:
Name This is a user-visible name for the token so that it can be easily identified
Status Leave as Enabled. The token can be Disabled at a later date if required
Expiry Date (if required)
Scopes: Scopes define what actions the token has permission to perform and on which repositories. You must have at least one scope added (by clicking the Add scope button). You can have multiple scopes if the token needs different permissions per repository.
Name
List the names of the repositories to which the token will have access. *
can be used as a wildcard. *
will provide access to all repositories
Actions Select the required Actions for the token (Pull, Push and/or Delete)
Type Choose either repository or registry. Use registry to get the list of repositories in the registry. Use repository to manage the contents of the repository(s)
Click Add scope and add further scopes if needed
5. Click Save
6. You are then presented with the details of the created credential and the Docker Login command using the newly created token.
Note: This is the only time you will be able to access the password for this token. It is not possible to recover the password for a token so you must store it securely and safely.