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