glab-auth - Man Page
Manage authentication for glab.
Examples (TL;DR)
- Log in with interactive prompt:
glab auth login - Log in with a token:
glab auth login [-t|--token] token - Check authentication status:
glab auth status - Log in to a specific GitLab instance:
glab auth login [-h|--hostname] gitlab.example.com
Synopsis
glab auth [flags]
Description
Manages authentication for glab against one or more GitLab instances. Use these commands to log in, log out, check your authentication status, and configure glab as a credential helper for Git and Docker.
glab can authenticate with a personal access token, an OAuth token from a web flow, or a CI job token when running in a GitLab CI/CD job.
Options Inherited from Parent Commands
-h, --help[=false] Show help for this command.
See Also
glab(1), glab-auth-configure-docker(1), glab-auth-docker-helper(1), glab-auth-dpop-gen(1), glab-auth-login(1), glab-auth-logout(1), glab-auth-status(1)
Referenced By
glab(1), glab-auth-configure-docker(1), glab-auth-docker-helper(1), glab-auth-dpop-gen(1), glab-auth-login(1), glab-auth-logout(1), glab-auth-status(1).
Jun 2026 Auto generated by spf13/cobra