glab(1)

πŸ“¦
version 1.128.0 Β· 3 versions
, in arch rolling

🌸 glab(1) β€” the girl's guide to the glab manual ✨

okay so full disclosure bestie, this is a page from the glab manual (yes, that glab, the GitLab CLI, ily). we're looking at one specific subcommand here and it's giving experimental-lab-vibes. let's get into it πŸ’…


✨ NAME ✨

glab-artifact-registry-status β€” check your access to the GitLab Artifact Registry. (EXPERIMENTAL) πŸ§ͺ

like, it literally just tells you whether you can get in. that's the whole gig.


πŸ¦‹ SYNOPSIS πŸ¦‹

glab artifact-registry status [flags]

that's it. that's the line. iconic of it honestly.


πŸ’– DESCRIPTION πŸ’–

so what this does: it takes your GitLab credential and exchanges it for a short-lived Artifact Registry access token πŸ”₯, then prints out that token's issuer, subject, audience, and expiry so you can confirm which identity and which instance you're actually authenticated as. very much a "vibe check: am I who I think I am" situation.

the best part? no credentials are written to disk. not one file. zero. your secrets stay unbothered πŸ’…

πŸŽ€ Prerequisites (read these, fr fr)

  • A GitLab Enterprise Edition (EE) instance on GitLab 19.1 or later. no old builds allowed, sorry bestie.
  • Token exchange enabled on the instance (the gate_token_exchange_endpoint feature flag). if it's off, it's off, iykyk.
⚠️ okay this part matters: this feature is an experiment and is not ready for production use. it might be unstable or removed at any time. yep, could vanish into thin air 😭. for more info, see https://docs.gitlab.com/policy/development_stages_support/.

⭐ OPTIONS ⭐

  • --hostname="" β€” the GitLab hostname you wanna check. defaults to the configured GitLab instance. like, if you don't say, it just picks the one you already set up 🫢
  • --jq="" β€” filter the JSON output with a jq expression. for the girlies who like their data ✨ curated ✨
  • -F, --output="text" β€” format the output as: text, json. pick your fighter πŸ₯Š (default's text, natch)

🌈 OPTIONS INHERITED FROM PARENT COMMANDS 🌈

  • -h, --help[=false] β€” show help for this command. the classic. the OG. we love her πŸ’œ

πŸ”₯ EXAMPLE πŸ”₯

# Show Artifact Registry access status
glab artifact-registry status

# Show Artifact Registry access status as JSON
glab artifact-registry status --output json

see? simple. elegant. no notes πŸ‘‘


πŸ“ SEE ALSO πŸ“


and that's the page, bestie!! mwah πŸ’‹

little sign-off for the credits girlies: this beauty was auto generated by spf13/cobra, dated Nov 2026, and it lives in the glab(1) manual. slay βœ¨πŸŽ€

πŸ“¦ where this page comes from