glab auth status -a

Category: GitLab

glab auth status -a

List all authenticated GitLab hosts

Shows every hostname glab has credentials for, not just the active one, which helps on machines that use gitlab.com and a self-hosted instance together. Add -t to print the token value itself, which is sensitive output. The active host is marked in the listing.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.