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
- Log in to Buddy.
- Click on your avatar in the top-right corner and head to the "API" tab.
Image loading...
- Go to Personal Access Tokens and click the + icon.
- Provide the token description and select proper scopes.
- A window with the token will appear. Copy the token and put it in a safe place.
Image loading...
Revoke personal access token
You can revoke the personal access token at any moment:
- Open the list with tokens, choose the one you want to revoke and open it.
- Go to the hamburger menu at the top, you'll find the Delete API token button there - click it to 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.
Image loading...
Last modified on Sep 23, 2024
Recommended