How do I use different passwords for different repositories without using SSH?

If someone uses the

hg clone https://username:password@bitbucket.org/username/repository

command, how do I have different passwords for a different repository? I know I can use deployment keys, but the people who need to clone my repositories probably won't be able to set up SSH easily, I want to keep it simple.

1 answer

1 accepted

To do this, one would ask the other people to create their own users and then provide those users with access to the repository. You can find the settings in Repository Settings -> Access Restrictions, under the gear in the sidebar as you're viewing the repository.

Then, the user will be able to navigate to the repository in Bitbucket.org and use the Clone button to fetch a link with their unique username and password.

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...

635 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