Create App Password for Team

Hi all,

according to I have to create an APP Password for the repository owner in order to upload build artefacts to the download section of the repository pages.

The repository in question is "owned" by a "team".

I see how I can create an APP Password for my user but I don't find the same link/page for the team.

Is this a glitch in the UI or a missing feature or am I looking in the wrong place?

Thanks for your help.


3 answers

I was able to make this 'work' by using the 'API Key' associated with the team. But not an App Password associated with my administrator account.

Still not considered safe or a good idea. as I have exposed my pipelines to my account. Being able to create a least-permissioned api key for the team is necessary to integrate various pipelines, builds to trigger other builds, etc...

0 votes

Hi Dominik! Team administration changed and now you can no longer manage repositories with a team account. Now, team members use their individual Bitbucket accounts to access the team and commit changes. This was announced at Team account changes.

That team shouldn't have an email address associated to it, are you still able to log in to that team using the team's email address? If you are, please let us know the name of the team, as that needs to be fixed.

Best regards,


Hi Ana,

yes I know about the changes. No I cannot login as "team" (I think).

But it appears that the repository (only created a few days ago) is OWNED by the team and I guess that is the reason the build-pipeline cannot upload the build artefacts.

Or why else does uploading the files fail?

Thanks for your help & best regards,


0 votes

Hi, Dominik! Thanks for the info. In this case, an App Password can be created by a user who has Admin rights over the repo or Team. If you're an admin for that team you can create an App password using your individual Bitbucket account and use it for the team. Otherwise, if you're a normal user, you'll need to contact one of the admins to follow the steps at

Hope this helps!


Hi Ana,

thanks for you reply.  I am admin for the team.

As stated in my first message, I did create an app password, but it still does not work.

Can you tell me what is wrong. Why does the authorization fail.



I'm seeing the same issue, and I think the behavior changed recently because it was working a week or so ago.


  1. User is a member of Team
  2. User is admin of Repository
  3. Repository is private
  4. Repository has a file X in downloads


  1. As User, create an App password
  2. Attempt to fetch X with curl:
curl -O -L --user User:AppPassword

This now always returns an HTTP 401 Unauthorized error.

Edit: This also fails for POSTs, trying to upload files.

Further information: the REST API appears to work, at least for some functions:

curl -i -O -L --user User:AppPassword ""

does work.

Hi, I was wondering whether this has been resolved, a solution found. 

I'm attempting to upload the results of a pipeline to downloads and all the docs I've come across suggest that I use BITBUCKET_REPO_OWNER for the user credentials (which is the team).

I'm still slightly confused as to how you can run a pipeline as a particular user (given a number of users could commit?) as in doing so doe sthis not provide access for those users to someone else's authorization?




I never found a solution. I gave up after a while, as it was a nice to have and not a need to have for me.

I am using now.

Good luck!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

1,961 views 7 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you