Enable generate PAT page for service accounts
What does this MR do and why?
On the Admin area -> Settings -> Service accounts page, clicking on the triple dot for a service account has a Manage access tokens link. Clicking on that link shows the personal access tokens for the service account:
| Service accounts page | Manage access tokens page |
|---|---|
![]() |
![]() |
Currently, only broad access tokens can be created. We are adding the ability to create a fine-grained personal access token. In a previous MR, a stub page for creating a fine-grained PAT was added, but was only made available to the logged in user. This MR also makes it available to service accounts:
![]() |
How to set up and validate locally
Keep the fine_grained_personal_access_tokens feature flag disabled for now, and follow this video guide:
Related to #570705 (closed)
Edited by Daniel Tian


