Source control

GitLab CLI Authentication

GitLab CLI configuration can store access tokens for GitLab.com and self-managed GitLab hosts.

Metadata

  • id: source-control.gitlab-cli-auth
  • category: source-control
  • sensitivity: critical
  • subcategory: gitlab-cli
  • artifact types: credential, token, configuration
  • tags: gitlab, source-control

Path Matchers

PathKindPlatforms
%LOCALAPPDATA%\glab-cli\config.ymlfilewindows
$HOME/.config/glab-cli/config.ymlfilelinux, macos
$HOME/Library/Application Support/glab-cli/config.ymlfilemacos
**/.git/glab-cli/config.ymlglobwindows, linux, macos

Content Indicators

Literal strings:

  • token
  • host

Credential Types

  • access-token

Impact

  • credential_access
  • source_code_access

References

On this page