Create API user that cannot login to portal

I want to create a user that I can use to pull from a repo. This is easy enough to do except for the fact that I would also like for this user NOT to be able to log in to the portal.

The use case for this requirement is the user on my build machine. This a  dumb user that just pulls from the repo when it needs to.

Is the creation of such a user possible?

1 answer

0 vote

Two options come to mind here.

1. Access key - give your build system a special SSH key that can read from specific repos, but not write to them.

BB Server (on-prem): https://confluence.atlassian.com/bitbucketserver/ssh-access-keys-for-system-use-776639781.html

BB Cloud (bitbucket.org): https://confluence.atlassian.com/bitbucket/use-access-keys-294486051.html

2. You can also use application passwords to grant specific permissions for specific uses. Application passwords do not work on the UI login, but if you configure them appropriately then you can use them for whatever your build system needs.

At the moment, this is only an option for BB Cloud: https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,931 views 26 12
Join discussion

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