You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Trying to figure out how to use the new feature "App Password" with the git command line to connect to bitbucket cloud repos on a Windows Server 2016.
I've created an app pwd with a label. Removed all the bitbucket related credentials from the Windows Credentials Manager. When I go and run "git pull" from CLI, I am asked to provide acct/pwd through a GUI. When I use the app label and password things do NOT work. Only if I use my Atlassian ID/pwd do things work. Where or how do I register the app label and password for the command line git utility?
Following this help doc does not help.
I'm trying to figure out the same thing.
Looks like this might be useful:
i.e. curl -u "username:<appPassword>" "https://api.bitbucket.org/2.0/repositories/[yourRepo]"
Hope this helps.
ooooooooookaaaaaaaaaay.... after closer inspection of the above suggestion, I used "username" and not "label" and it worked! Thank you.
So, once the app label and password are created: i.e. label = myapp; pwd = s3cre3t,
delete the credentials from the Windows Credentials Manager for git. I had two of them. Then at the command line type a git action that will force the Credentials Manager GUI to popup asking for git credentials. In the username -- do NOT use the email NOR the label (myapp). Must use the "username" of the Atlasian account. You will find the "username" on the "bitbucket profile settings". Then use the password for the newly created App label. i.e. s3cr3t
This info should be put in the Atlassian's help doc with much better wording than I have done here :). It's Friday night..ack.
The same thing is what I'm trying to determine.
This appears to be useful:
Hope this was useful.
I appreciate the suggestion.
Without success, I attempted using curl and adding label:password to the remote URL using "git remote".
What is the method of adoption for this? have one month to come up with a solution.