Credentials for "linked repo" from Bamboo to BitBucket Cloud

Deleted user April 30, 2018

Hi,

I have been configuring a Linked repository from Bamboo to our BitBucket Cloud repo. I have setup a SSH "Access Key" for the repository in BitBucket Cloud (see image below. Key name has been obfuscated)repoKeys.png

 

When configuring the "Linked Repository" in Bamboo I assumed I would just be able to provide the URL for the repository and use the SSH key but it appears I first have to setup a username and password with access to the repository and then specify the SSH key to use. (See image below)

Is it possible to just use the URL and the SSH key for connecting Bamboo to BitBucket Cloud or do I need to setup a username and password as shared credentials first?

 

LinkedRepo.png

1 answer

1 accepted

0 votes
Answer accepted
Gabriel Ribeiro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2018

Hi Chris,

Yes, you need to provide a username/password to retrieve the repository list but during your build, Bamboo will use the SSH key to authenticate.

Please remember that if you're using two-factor authentication, an app password must be created in Bitbucket so that you can use your account in Bamboo.

If you want to use only the ssh key, you can select "Git" in repository type list and then define the clone URL manually.

thanks.

Deleted user May 7, 2018

Thanks for the answer.

I was wrongly assuming the "BitBucket Cloud" repo would work the same way as the "Git" repository host type.

Michael Dinsmore
Contributor
January 15, 2019

Where do I enter the app password into Bamboo that I created in BitBucket?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events