Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I obtain an HTTP access token from a bitbucket repository on bitbucket cloud

Edited

I need to create an HTTP access token for a repository which allows me to pull modules from it while building a nodeJS application in another repository.

This was done in the past by using a personal access token from one of the employees and I want to change that.

I refered to this article " https://confluence.atlassian.com/bitbucketserver/personal-access-tokens-939515499.html " in which the steps are stated as follows: 

Create HTTP access tokens for projects or repositories

HTTP access tokens can be created for teams to grant permissions at the project or repository level rather than for specific users.

To create an HTTP access token for a project or repository (requires project or repository admin permissions):

  1. From either the Project or Repository settings, select HTTP access tokens.
  2. Select Create token.
  3. Set the token name, permissions, and expiry.

 

The problem is in my repository settings, I can't find "HTTP access tokens".

I'm using Bitbucket cloud whereas the article refers to bitbucket Server, does that make a problem? If so, this option isn't available in bitbucket cloud?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Mohamed BELLAKHAL and welcome to the community!

The feature you mentioned in available in Bitbucket Server only.

In Bitbucket Cloud we have app passwords, however, they are associated with a certain Bitbucket Cloud user (not with a project or repository):

If you want an authentication method that is not tied to a certain user, and you only need to clone/pull, you can use Access keys instead:

Access keys are SSH keys that can be added to one or multiple repos, and they provide read-only access to these repos.

Do any of these options work for you?

If you have any questions, please feel free to let me know.

Kind regards,
Theodora

Hi Theodora, Thank you for answering.

Actually I went through with the SSH option and I have got a few blockers there too, I posted a question about it, could you please review it?  https://community.atlassian.com/t5/Bitbucket-questions/Use-multiple-SSH-keys-in-your-pipeline-not-working-for-me/qaq-p/1895795

Kind Regards,

Mohamed

Hi Mohamed,

Sure, I will review your other question and answer there.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

📣 Calling Bitbucket Data Center customers to participate in research

Hi everyone, Are you Bitbucket DC customer? If so, we'd love to talk to you! Our team wants to dive deep to understand your long-term plans regarding Bitbucket DC and Atlassian Cloud. Do you plan...

182 views 2 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you