Hello Bitbucket Cloud users!!!
Update August 2025
Please note that Bitbucket Cloud app passwords are also being deprecated:
- New app password creation will be disabled on September 9th 2025.
- Existing app passwords will cease to function on June 9th 2026.
App passwords will be replaced by API tokens. Please check the API tokens documentation on how to create and use API tokens for Git operations via HTTPS and API.
|
You may have recently received an email communication or read our
blog post announcing that
beginning March 1, 2022, Bitbucket Cloud users will no longer be able to use their account passwords when using Basic authentication for Git over HTTPS and the Bitbucket Cloud REST API.
So, we wanted to take the time to inform the Bitbucket Cloud community of further details regarding this change and provide a FAQ (Navigate to the bottom of this post to jump directly to the FAQ section).
**Important Notes** (please read)
- This does not impact those using an SSH key to authenticate with Git.
- There is a known issue with Sourcetree for Windows when users update their connected Bitbucket Cloud account to use their new app password. Please visit our Sourcetree community post for more details and how to resolve the issue.
- App passwords do not support email address as a username for authentication. So, some user's Git remote URLs using their email address will need to be adjusted so that they use their Bitbucket Cloud username instead, like so:
From Git remote URL using email address:
https://[email@email_domain.com]@bitbucket.org/[workspace]/[repository].git
To Git remote URL using Bitbucket Cloud username:
https://[bitbucket_cloud_username]@bitbucket.org/[workspace]/[repository].git
Why are we making this change?
The removal of account password usage for Basic authentication when using Git over HTTPS and/or the Bitbucket Cloud REST API is due to Bitbucket Cloud's ongoing effort to align with internal infrastructure and improve Atlassian account security. App passwords are substitute passwords for a user's account and are designed to be used for a single purpose with limited permissions.
By replacing the usage of account passwords with app passwords for Git over HTTPS and/or the Bitbucket Cloud REST API, we are able to improve account security given the fact that app passwords are single-use, have limited permissions, and can be easily and quickly revoked.
You can find more details about the various privilege scopes for app passwords in our documentation.
What effect do these changes have on me and what do I need to do?
Main Functionality Effect
Beginning March 1, 2022, you will no longer be able to use your account password when using Basic authentication with Git over HTTPS and/or the Bitbucket Cloud REST API.
Other functionality affected
OAuth 2.0
Furthermore, it will no longer be possible to perform the OAuth 2.0 Resource Owner Password Credentials Grant (4.3) flow. Bitbucket Cloud still supports the remaining three OAuth 2.0 (RFC-6749) grant flows, plus a custom Bitbucket flow for exchanging JWT tokens for access tokens. More details about accepted OAuth 2.0 flows can be found in our Bitbucket Cloud documentation.
3rd-party tools
If you have saved your credentials (i.e., username and account password) in a credential manager such as Git Credential Manager (GCM), Windows Credential Manager, OS X Keychain, or some other third-party application, then you will need to update them with an app password before March 1, 2022, in order to continue using Basic authentication with the Bitbucket API and/or Git over HTTPS without disruption.
Two-Step Verification (2SV) recovery code retrieval
Bitbucket previously allowed using a combination of the SSH key and password to retrieve a two-step verification (2SV) recovery code. This will no longer be supported beginning March 1, 2022. Users with 2SV enabled should visit their personal settings and securely save or write down their recovery codes to avoid a 24-hour lockout in case of a lost or stolen 2SV device.
FAQ
We have an integration with a 3rd-party application, such as Jenkins. Do we need to update anything?
If you are using an app password or SSH Key for authentication from a 3rd-party application such as Jenkins to connect to Bitbucket Cloud, you do not need to make any changes. However, if you are using your account password for Basic authentication to connect to Bitbucket Cloud, then you will need to update it to use an app password instead.
Does this impact our Jira Cloud integration with Bitbucket Cloud repositories?
Jira Cloud integration with Bitbucket Cloud will not be impacted by this change.
How can I recover a Two-Step Verification (2SV) recovery code using SSH?
This will no longer be supported beginning March 1, 2022. If you do not have access to your 2SV recovery codes and do not have access to your 2SV device, then you will have to request a 2SV email recovery by following these steps:
- Attempt to login into your account. This will take you to the 2SV login page.
- Select the Don’t have a key? link at the bottom right of the 2SV login page. This will take you to the 2SV recovery code login page.
- Next, select the Forgot code? link at the bottom right of the 2SV recovery code login page.
- Finally, select Send recovery email. This will initiate the 2SV email recovery process to assist you in gaining access to your account again.
To help avoid any further disruptions, remember that this will create a 24-hour delay in getting access to your account.
Does this change have any impact on my existing integration with a 3rd-party application using OAuth 2.0?
This change should not impact integrations with 3rd-party applications using OAuth 2.0.
As a workspace admin, how can I verify if any of our users are using Basic authentication for Git over HTTPS?
There is no functionality within Bitbucket Cloud to allow workspace admins to identify what authentication method each member of the workspace is using for Git transactions.
Does this change have any impact on my existing configuration with SSH-based Git operations?
There will be no impact on SSH-based connections.
Does this change have any impact on my configuration with Bitbucket Cloud with tools like Eclipse, PyCharm, Sourcetree, etc.?
If you are using the HTTPS protocol for Git operations, and it was configured using your Atlassian account password for Basic authentication to connect to Bitbucket Cloud, then you will need to update your configuration to use either an app password. You can also switch to the SSH protocol by generating and uploading your SSH public key to your Bitbucket Cloud profile.
We are using Google Cloud Source Repositories to mirror our Bitbucket Cloud repository as outlined in their help guide. Will this integration be impacted by the removal of account passwords for Basic authentication with Git over HTTPS and the Bitbucket Cloud REST API?
This functionality should not be impacted. However, Google Cloud could request that you re-authenticate yourself at any time.
Happy coding,
The Bitbucket Cloud team