New to Bitbucket Cloud? Check out our get started guides for new users.
Repository Access Tokens are single-purpose access tokens (or passwords) with access to a single repository with limited permissions (specified at creation time). Use tokens for tasks such as scripting, CI/CD tools, and testing Bitbucket integrations or Marketplace apps while in development.
To create a Repository Access Token:
At bitbucket.org, navigate to the target repository for the Access Token. This repository is the only one that the Repository Access Token can access.
On the sidebar, select Repository Settings.
On the sidebar, under Security, select Access tokens.
Select Create Repository Access Token.
Give the Repository Access Token a name, usually related to the app or task that will use the token.
Select the permissions the Repository Access Token needs. For detailed descriptions of each permission, see Repository Access Token permissions.
Select the Create button. The page will display the Repository Access Token created dialog.
Copy the generated token and either record or paste it into the app that requires access. The token is only displayed once and can't be retrieved later. Rather than recovering or reusing a Repository Access Token, create a new token and consider revoking the old token.