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 votes

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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

627 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot