Hello Bitbucket Cloud community,
At Atlassian, we’re dedicated to keeping your data and integrations secure. To enhance Bitbucket Cloud’s security, we’re announcing the transition from app passwords to API tokens, which offer improved security and management capabilities. Here’s what you need to know to prepare for this change.
Important: No changes are taking effect immediately, and existing integrations using app passwords will continue to function without interruption. However, this change is time-sensitive, with a 12-month transition period. Integrations withapp passwords will stop working entirely on June 9, 2026.
We strongly recommend starting the transition to Bitbucket API tokens as soon as possible to ensure uninterrupted access and improved security. Early preparation will ensure a smooth experience, and transitioning to API tokens is straightforward. This announcement outlines the steps to create API tokens, the reasons for this change, the timeline, and next steps.
App passwords have served as a reliable authentication method, but API tokens offer enhanced security and greater control for all users:
Expiration control: API tokens can be set to expire after a defined period, reducing the risk of long-term exposure if a token is compromised.
Centralized management: API tokens are managed through a centralized system, enabling easier oversight, revocation, and control. For managed accounts within a claimed domain, Org Admins gain visibility into API token usage and the ability to revoke tokens as needed.
Modern scopes: API tokens support modern identity scopes, which are more secure and flexible than the classic scopes used by app passwords.
Transitioning to API tokens ensures a more secure and consistent authentication experience for all Bitbucket Cloud users. Learn more about user API tokens and different roles.
A phased approach is being adopted to ensure a smooth transition with minimal disruption to existing integrations:
No customer impact: App passwords will continue to work as expected, and all existing integrations remain unaffected.
Customers can begin transitioning to API tokens at their own pace.
Review our support documentation to help you create and implement API tokens.
We will be working with our partners, to make sure they are also aware of these changes and make necessary adjustments to their application to ensure smooth transition for 3rd party integrations for our customers.
Bitbucket Cloud will no longer allow the creation of new app passwords.
Existing App passwords will continue to work, ensuring no disruption to your integrations.
Customers will be routed to create API tokens from this date forward and will be encouraged to adopt API tokens for their integrations during this phase.
App passwords will cease to function, and integrations using them will stop working.
All integrations previously using app passwords now must switch to API token to authenticate with Bitbucket Cloud.
Regular updates, reminders, and support will be provided throughout this process to ensure a seamless transition.
You can start using API tokens for scripting, CI/CD tools, or testing Bitbucket-connected applications. Follow these steps:
From the top navigation bar, select Settings > Atlassian account settings > Security.
Choose Create and manage API tokens > Create API token with scopes.
Name the token, set an expiry date, and select Bitbucket as the app.
Assign necessary permissions (see API token permissions for details).
Create the token, copy it, and paste it into your application. Note: The token is displayed only once.
Learn more in our support documentation.
API tokens are single-purpose tokens with limited user scopes, perfect for scripting, CI/CD tools, and testing Bitbucket Connect apps during development. Here's how to use API tokens:
Bitbucket Cloud REST API: Authenticate using your Atlassian account email (located under Email aliases in your Bitbucket Personal settings) and an API token, replacing your username and app password.
Git Command-Line Interface (Git CLI): Use your Bitbucket username and an API token for interactions with Bitbucket Cloud.
See our support documentation for detailed guidance on how to use Bitbucket Cloud API tokens with the Git command line interface (Git CLI) and Bitbucket Cloud REST APIs.
We are collaborating with partners like Sourcetree and other third-party applications to enhance and streamline their integrations for API token support. Once these integrations are fully implemented, we will provide updates. For setup instructions during the transition, please consult the documentation. For additional guidance, refer to our integration support documentation.
We’re dedicated to making this transition seamless. Expect regular updates, reminders, and resources. If you have questions or need assistance, drop a comment below on this post.
Hamreet Kaur
Associate Product Manager - Bitbucket Cloud
Atlassian
5 comments