Skip to content

mw gitlab auth login

Releasev0.35.0 · cfeceb67

mw gitlab auth login [flags]

Validate and save a GitLab personal access token

--default
Make this profile the default (otherwise ask before switching an existing default)
--from-glab
Import and validate the host's saved glab token; retain the original
--hostname <string>
GitLab hostname (HTTPS) Default: gitlab.wikimedia.org.
--insecure-storage
Store credentials in the private plaintext configuration
--provider <string>
Override the credential provider (keyring, windows-credential-manager, keepassxc or plaintext)
--token <string>
Personal access token (prefer a hidden prompt or --token-stdin)
--token-stdin
Read the token from stdin
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.