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?
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.
For 'Freemium' and 'Premium' accounts, the following two access scopes are available:
Admin tokens - Always give access to all repositories, both already existing and those created in the future.
For Enterprise accounts, the access scope of access tokens can be configured granularly with different scopes for individual repositories. The access granted by the various scopes is equivalent to that provided by our RBAC user roles.
For repositories created or integrated after the generation of the token, access will be based on the default role, which can be configured by a company admin.
User tokens - When creating a token, the new token gets User access (equivalent to ) to every existing repository at the time of token creation.
For more information on the available user roles, their access and how to set the default role, see .