Answers: <p>Not current, there are two issues opened on this</p>
  <ul>
  <li><a href="https://gitlab.com/gitlab-org/cli/-/issues/980" rel="nofollow noreferrer">Create Project Access Tokens (PATs) from <code>glab</code></a></li>
  <li><a href="https://gitlab.com/gitlab-org/cli/-/issues/7435" rel="nofollow noreferrer">Rotate Project Access Tokens (PATs) from <code>glab</code></a></li>
  </ul>
  <p>And, <a href="https://gitlab.com/gitlab-org/gitlab-ui/-/issues/2553" rel="nofollow noreferrer">this issue will provide a better workaround through prepopulating UI variables</a></p>
  
Answers: CC BY-SA 4.0
Answers: 2024-03-18T18:25:50.520Z
Answers: 2024-03-19T15:06:12.193Z
Answers: 2024-03-19T15:06:12.193Z
Answers: Evan Carroll
Body: <p>I would like to make a chore commit in my CI. Currently, <a href="https://gitlab.com/gitlab-org/gitlab/-/issues/389060" rel="nofollow noreferrer"><code>CI_JOB_TOKEN</code> doesn't allow pushing to the repo</a>. The workaround is to create a project access token with write perms. Is it possible to do this with <code>glab</code>?</p>
  
Tags: <gitlab><glab>
Title: Does glab (glab-cli) support creating project access tokens?
UserDisplayName: Evan Carroll
ThreadText: # Does glab (glab-cli) support creating project access tokens?
  
  (Asked by: username_0 on 2024-03-18)
  
  I would like to make a chore commit in my CI. Currently, [`CI_JOB_TOKEN` doesn't allow pushing to the repo](https://gitlab.com/gitlab-org/gitlab/-/issues/389060). The workaround is to create a project access token with write perms. Is it possible to do this with `glab`?
  
  **Tags:** gitlab, glab
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2024-03-18. Score: 0 | Accepted answer
  
  Not current, there are two issues opened on this
  
  * [Create Project Access Tokens (PATs) from `glab`](https://gitlab.com/gitlab-org/cli/-/issues/980)
  * [Rotate Project Access Tokens (PATs) from `glab`](https://gitlab.com/gitlab-org/cli/-/issues/7435)
  
  And, [this issue will provide a better workaround through prepopulating UI variables](https://gitlab.com/gitlab-org/gitlab-ui/-/issues/2553)
  
  
  ---
  
  