Generate access token
Learn how to generate an access token.
Last updated
Was this helpful?
Learn how to generate an access token.
Last updated
Was this helpful?
Only users with administration rights can generate access tokens.
Access tokens are a secure way of performing automated integrations with Debricked. They are safer compared to using a username and password, and their typical use cases include GitLab, Bitbucket, and API integrations, which are not tied to a particular user, but rather to a repository or a project.
To generate a new access token:
Go to Admin tools on the left side menu.
Type your password to go to administrative mode.
In the Access Tokens tab, click the +Create button.
Type the description. If needed, select the Admin box which gives access to more actions, such as performing scans.
Click Generate.
Copy the generated token.
To generate a new access token for an Enterprise:
Go to Admin tools on the left side menu.
Type your password to go to administrative mode.
In the Access token tab, click the +Create button.
Type the description.
Select the repositories and user roles from the drop-down.
Click Generate.
Copy the generated token.
Save the token before closing the window as you can only view this token once.
Admin tokens - Always give access to all repositories, both already existing and those created in the future.
User tokens - When creating a token, the new token gets User access (equivalent to Reviewer in RBAC) to every existing repository at the time of token creation.
Admin tokens - Always give access to all repositories, both existing and future. They get the Repository Admin access for every newly created repository.
User tokens - When creating the token, it gets Reviewer access to every existing repository at the time of creation. For repositories created afterward, it gets the default role assigned by the administrator.