Home > Enterprise >  Connecting VS Code to Enterprise Bitbucket repo using personal access tokens or ssh keys instead of
Connecting VS Code to Enterprise Bitbucket repo using personal access tokens or ssh keys instead of

Time:03-31

More or less all in the title,

My company has a custom Bitbucket project set up through Atlassian that we want to connect to our VS Code IDEs. When doing the tutorial in the Atlassian Bitbucket/Jira extension for VS code it asks for the repo's URL and our username and password. For security reasons we don't want to do that. On the Atlassian website outlining connecting VS Code to Bitbucket makes reference to using a personal access token though I haven't found what exactly to do with this?

What we need to know is what to do with a personal access token in VS code once you've created one. Based on the top point in the personal access token walkthrough it seems like it has something to do with a REST command but I (a REST ignoramus) don't have the faintest on where I'd store the token, command, or how it would pertain to the Atlassian VS Code extension.

Any help is immensely appreciated!

We've gone through the guides posted by Atlassian and linked to from the VS Code extension and have custom tokens and ssh keys associated with each of our accounts.

CodePudding user response:

"though I haven't found what exactly to do with this?"

You simply use it as your password:

username / <yourToken>
  • Related