Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,368,547
Community Members
 
Community Events
168
Community Groups

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

Atlassian Community Events