Bitbucket Sync Integration
Learn how to use Doppler with Bitbucket Cloud Pipelines.
This guide is designed to get you set up with deploying your secrets to Bitbucket Pipelines as Deployment Environment Variables.
Prerequisites
- You have Bitbucket Cloud workspace on the Premium plan
Bitbucket Project Access Token
Go to your Bitbucket project and on the left choose Project settings > Access tokens > Create:
Select the Projects:Read and Pipelines:Edit variables scopes. Then, click Create.
You can also use Workspace or Repository access tokens if you'd prefer.
We'll use this access token in the next step.
Authorization
In your Doppler project, navigate to Integrations and select Bitbucket:
- Set the Name to anything you like (this will be used to help you identify this sync when viewing the integration for this config)
- Provide your Bitbucket Workspace ID (you can find this in your workspace settings).
- Provide the Access Token that you created in the previous step
You have now successfully connected your Bitbucket project with Doppler!
Configuration
Next, you can select a Bitbucket repository and environment along with the Doppler config you want to sync.
Click Set Up Integration and you're all set!
The secrets from your selected config will be immediately and continuously synced to your Bitbucket repository's deployment environment variables.
Amazing Work!
Now you are all set up on Bitbucket.
Updated 2 months ago