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 to false; 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 to false. It's giving token reveal moment. πŸ‘€

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

  • -h, --help[=false] β€” Show help for this command. Defaults to false. 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