glab-auth
Manage GitLab CLI authentication
TLDR
Login to GitLab
$ glab auth login
Login with token$ glab auth login --token [token]
Login to specific host$ glab auth login --hostname [gitlab.example.com]
Show auth status$ glab auth status
Logout$ glab auth logout
SYNOPSIS
glab auth command [options]
DESCRIPTION
glab auth manages GitLab CLI authentication. It handles logging in to GitLab instances with personal access tokens or OAuth, and stores credentials for use by other glab commands.
For self-hosted GitLab instances, use the `--hostname` flag to specify the server address.
PARAMETERS
--token token
Authentication token.--hostname host
GitLab host.
SUBCOMMANDS
login
Authenticate with GitLab.logout
Log out.status
Show authentication status.
SEE ALSO
glab(1)
