I've created a bit bucket / atlassian account using a google mail account to authenticate. My bitbucket account has been added to a group within which we share resources. I now want to use git to clone these resources but git wants a password.
I've added my SSH keys, still wants a password.
I cannot set a password, as this requires entering the old password, which I don't have as I used google to authenticate ...
So, how can I clone the repository or set a password?
Hello Robert and welcome to the Community!
*We've updated this answer to reflect changes within the product.*
You're correct in the fact you’re not able to change/set your password for Bitbucket as you’re using your Google account. With this said, you will need to configured an application password within Bitbucket to use for authenticating. Here are the steps to create an app password:
Create an app password
To create an app password:
Select your avatar (Your profile and settings) in the upper-right corner of the top navigation.
Select Personal settings from the Your profile and settings dropdown menu.
Select App passwords under Access management.
Select Create app password.
Give the app password a name related to the application that will use the password.
Select the specific access and permissions you want this application password to have.
Copy the generated password and either record or paste it into the application you want to give access. The password is only displayed this one time.
Add an app password to Sourcetree or another application
To add your app password to Sourcetree:
Go to the tab where you'll add or edit your account details:
(Windows) Go to Tools > Options. From the Options dialog, select the Authentication tab.
(macOS) Go to Sourcetree > Preferences. From the dialog that options, select the Accounts tab.
Click to Edit your account details or Add a new one.
From Authentication or Auth Type, select Basic, and enter your Username if it's not already there.
Enter the app password you just created as your Password. If you're on Windows, you'll need hit Refresh Password first.
Click OK or Save to save your account details.
To add your app password to another application, see the application's documentation for how to apply the app password.
Revoke an app password
To revoke an app password, select the password and click Revoke. Then confirm that you want to revoke the password.
Using an app password
An app password is a substitute password for the user account where you configure it, so you simply use it when authenticating with Bitbucket:
username: your normal Bitbucket username
Note: You cannot use your email address as your username.
password: the app password.
This applies to direct API access (e.g. viawith HTTP authentication) as well as for tools that integrate with Bitbucket via the HTTP API. As mentioned above, you cannot log in to the Bitbucket web interface with an app password.
Source document: App passwords
I hope this helps clarify which password to create and use with Bitbucket. Please let us know if you’re still having issues.
Thank you for bringing this to our attention, I've updated my answer above to reflect product changes and provide correct instructions. We do appreciate your feedback and understand how difficult this can be when answers and context are quickly outdated by product change.
Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events