How to ensure Gitlab token has access to required groups/repositories

Follow these steps to grant a service account access to required repositories:

  1. Log in to GitLab.

  2. In the left sidebar, click "Groups""Your Groups".

  3. Select the Group where you want to add the service account.

Open the Group’s Members Settings

  1. In the Group Dashboard, go to the left sidebar.

  2. Click "Settings""Members".

Invite the Service Account

  1. Click "Invite Member" (top right corner).

  2. In the "Select members or email address" field, enter the service account username or email.

  3. Assign a "Reporter" or "Developer" role as required.

  4. Click "Invite".

Repeat the steps for all required groups.

Once added, the service account will inherit access to all repositories within the groups.

Last updated

Was this helpful?