glab service-account token

Manage the tokens of a service account.

Synopsis

Manage the personal access tokens of a service account of a project or a group.

  • Every token command takes the service account as its first argument, by ID or username. IDs and usernames come from glab service-account list.
  • A token acts as the service account, limited to the scopes it was created with.

Tokens of a group service account require GitLab 17.11 or later.

Options

  -R, --repo string   Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

Options inherited from parent commands

  -h, --help   Show help for this command.

Subcommands