Personal Access Token

Using Personal Access Token is an alternative way of authentication. It is used when OAuth2 is impractical – mostly for scripts, integrations and small applications.

You can use Personal Access Token to authorize the API requests as well as to authorize Git through HTTP (when you use Buddy Git hosting).

Create personal access token

  1. Log in to Buddy.
  2. Click on your avatar in the top-right corner and head to "Manage your Profile" tab.
  3. Choose "Tokens" from the left menu and click the New Token button.

Adding new access tokenAdding new access token

  1. Provide the token description and choose proper scopes.
  2. A window with the token will appear. Copy the token and put it in a safe place.

Getting Buddy access tokenGetting Buddy access token

Revoke personal access token

You can revoke the personal access token at any moment. To do it, open the list with tokens, choose the one you want to revoke and open it. At the bottom, you'll find the "Delete" button that will remove the token entirely. Alternatively, you can click the Regenerate button which will create a new authentication hash for the same description and list of scopes.

See also

Last modified on September 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.