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)
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?
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.
Thanks for the answer.
I was wrongly assuming the "BitBucket Cloud" repo would work the same way as the "Git" repository host type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do I enter the app password into Bamboo that I created in BitBucket?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.