Sign in to Bitbucket Cloud with an API token
For bitbucket.org. Bitbucket Cloud has no browser sign-in in Repotray; the token form opens at once.
On this page
Steps
- 1In Repotray open Accounts, Add account, then Bitbucket.
- 2On Server address, type
bitbucket.org. When the FOUND card appears, tap Continue. - 3The sign-in screen shows the token form straight away, with the fields Token and Account email.
- 4Tap Open token page. It opens the Atlassian API tokens page,
id.atlassian.com/manage-profile/security/api-tokens. - 5Create an API token with the Bitbucket scopes listed below and copy it.
- 6In Repotray, paste it into Token (or tap Paste), type the email of your Atlassian account in Account email, and tap Check token.
Scopes
| Scope | What it is used for |
|---|---|
read: | Your profile |
read: | Repositories |
read: | The workspaces you belong to |
After the check, the token is stored on the phone.
App passwords
Bitbucket app passwords are no longer accepted. Repotray refuses a secret that starts with ATBB before sending anything. An Atlassian API token starts with ATATT.
An account that still uses an old app password is listed on the Accounts screen as Needs an API token. Add the account again with an API token.