Cli/ref/mw gitlab auth login

mw gitlab auth login
Authenticate with a GitLab instance

Synopsis
Authenticate with a GitLab instance. You can pass in a token on standard input by using. The minimum required scopes for the token are: “api”, “write_repository”.

mw gitlab auth login [flags]

Examples
$ glab auth login $ glab auth login --stdin &lt; myaccesstoken.txt $ glab auth login --hostname salsa.debian.org
 * 1) start interactive setup
 * 1) authenticate against gitlab.com by reading the token from a file
 * 1) authenticate with a self-hosted GitLab instance

Options
-h, --hostname string  The hostname of the GitLab instance to authenticate with --stdin            Read token from standard input -t, --token string     Your GitLab access token

Options inherited from parent commands
--help            help for this command --no-interaction  Do not ask any interactive questions --verbosity int   verbosity level (1-2) (default 1)