Skip to content

Deploy Token


You can use a deploy token to work with a project without having direct access rights. With a deploy token, you can get a copy of the repository or make changes to the project even if you are not directly involved in its development.

Creating a Deploy Token

  1. Go to the project settings for the project where you want to create a token.
  2. In the right menu, click "Deploy Tokens".
  3. In the opened window, click "Create".
  4. Fill in the Name field (token name).
  5. You can leave the date field empty if you want the token to have no expiration date.
  6. Specify the required scope for the token.
  7. Click "Create".
  8. After creation, you will be redirected to the page with existing tokens. The new token will be displayed at the top of the screen. Save it, as it will not be shown again in plain text.

Using a Deploy Token

After receiving a deploy token, you can share it with a person who will use it.

Example command for cloning a project:

git clone https://<username>:<deploy_token>@gitflic.ru/project/example_user/exemple_project.git
URL Variable Description
username Alias of the user who created the deploy token
deploy_token Deploy token

Note that the request URL may differ for projects owned by a team or a company.

Additionally, a deploy token can be used to create a mirror or import a private project.

Deleting a Deploy Token

To delete an existing token, you need admin rights in the project.

  1. Go to the project settings where you want to delete the token.
  2. Open the "Deploy Tokens" tab, and click the delete button next to the token you want to remove.

Automated translation!

This page was translated using automatic translation tools. The text may contain inaccuracies.