Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Connecting Bitbucket Cloud to ArgoCD

Fernando Faria
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 11, 2022 edited

Hello guys. Does anyone use ArgoCD with Bitbucket? Any tips for making the connection between ArgoCD and Bitbucket?

I can connect to GITHUB using HTTP Token, but in bitbucke I didn't find this option (Token HTTPS).

Does anyone have the bit connected to argocd?

1 answer

1 accepted

1 vote
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 14, 2022

Hi @Fernando Faria and welcome to the community!

I'm not familiar with ArgoCD, but if the connection requires the credentials of a Bitbucket account that has access to your workspace and repos, you can use app passwords:

An app password can be generated for a Bitbucket cloud account and it can be used in combination with the account's username (found here https://bitbucket.org/account/settings/ when you are logged in to the account).

The permissions required for the app password depend on what operations are performed by ArgoCD.

Kind regards,
Theodora

Fernando Faria
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2022

Perfect Theodora. It worked with your help. 

1 - Use app-passwords

2 - in argocd connect repo using https and use without username in URL.

3 - include username of bitbackut and app-passwords.

 

Thanks for your help!

Regards,

Fernando Faria

Like 2 people like this
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 28, 2022

That's good to hear and you are very welcome Fernando!

Please feel free to reach out if you ever need anything else!

Kind regards,
Theodora

iamnst August 30, 2023

Can we use repo access token also?

Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2023 edited

Hey @iamnst and welcome to the Community!

I'm not very familiar with ArgoCD, but if it supports providing a Bearer access token during the connection with Bitbucket, you should be able to use a repository access token for authentication as well.

You can find mind details on how to create and examples of repository access tokens usage in the following documentation : 

Thank you, @iamnst !

Patrik S

Like Sabine Mayer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Upcoming Bitbucket Events