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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,455,380
Community Members
 
Community Events
175
Community Groups

App Password

Edited

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.

App passwords | Bitbucket Cloud | Atlassian Support

1 answer

1 accepted

2 votes
Answer accepted

I'm trying to figure out the same thing.

Looks like this might be useful:

https://stackoverflow.com/questions/39886995/how-to-access-bitbucket-using-app-password

i.e. curl -u "username:<appPassword>" "https://api.bitbucket.org/2.0/repositories/[yourRepo]"

Hope this helps.

Thank you for the suggestion.

I've tried curl and adding the label:password to the remote URL via "git remote" without success. 

How are people switching to this? Have a month left to figure this out.

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.

App passwords | Bitbucket Cloud | Atlassian Support

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events