Programster's Blog

Tutorials focusing on Linux, programming, and open-source

GitLab - Create A Personal Access Token

This tutorial will show you how to generate a personal access token that will grant a service the ability to perform certain actions as if they were you.

Related Posts


  1. Click on your profile picture in the top-right corner and click Settings.
  2. Click on Access Tokens in the left-hand menu.
  3. Give a name for your token to remember it by. Important for if you ever need to revoke it for security reasons (e.g. will know which one to revoke).
  4. Optionally give the token an expiry date. Generally a good idea.
  5. Set the access level the token provides.
  6. Click Create personal token

  1. Your newly generated token will appear at the top.
  2. You can click the clipboard button to the right of it to copy it to your clipboard.

The token will appear in the list of active personal tokens down the page. You can click the Revoke button to delete it, thus removing the access permissions to whatever service was making use of it.

Last updated: 19th February 2022
First published: 16th February 2021