glab(1)
π
glab(1) β the glab manual, auth status edition, bestie β¨
πΈ NAME πΈ
glab-auth-status β view authentication status. That's the manual name, and that's the whole assignment. π
π¦ SYNOPSIS π¦
glab auth status [flags]
β¨ DESCRIPTION β¨
Okay so this command verifies and displays information about your authentication state. Literally a vibe check for your auth, bestie.
By default, this command checks the authentication state of the GitLab instance determined by your current context β that's your git remote, the GITLAB_HOST environment variable, or your configuration. No cap.
Wanna check all configured instances? Use --all. Wanna check one specific instance? Use --hostname. Easy peasy. π«Ά
π OPTIONS π
-a,--all[=false]β Check the authentication status of all configured instances. Defaults tofalse; turn it on when you want the whole squad checked. π--hostname=""β Check the authentication status of a specific instance. Default is the empty string"". Drop a hostname in there and it's giving targeted. π―--jq=""β Filter JSON output with a jq expression. Default is"". Yes, jq besties, this one's for you. π-F,--output="text"β Format output as:text,json. Default is"text". Pick your format, main character. β¨-t,--show-token[=false]β Display the authentication token. Defaults tofalse. It's giving token reveal moment. π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β Show help for this command. Defaults tofalse. The classic "help me help you" button. π«Ά
π EXAMPLE π
Here are the exact moves, bestie:
# Check authentication status for the instance in your current context
glab auth status
# Check authentication status for all configured instances
glab auth status --all
# Check authentication status for a specific instance
glab auth status --hostname gitlab.example.com
# Display the authentication token alongside the status
glab auth status --show-token
# Print the authentication status of all configured instances as JSON
glab auth status --all --output json
π SEE ALSO π
glab-auth(1)β the parent command's manual. Go give it a read, iykyk. π
π Auto generated by spf13/cobra Β· Nov 2026 Β· glab(1) β ok bye bestie, go check your auth status β¨π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms