正式なドキュメントは英語版であり、この日本語訳はAI支援翻訳により作成された参考用のものです。日本語訳の一部の内容は人間によるレビューがまだ行われていないため、翻訳のタイミングにより英語版との間に差異が生じることがあります。最新かつ正確な情報については、英語版をご参照ください。

glab artifact-registry status

Check your access to the GitLab Artifact Registry. (EXPERIMENTAL)

Synopsis

Exchange a GitLab credential for a short-lived Artifact Registry access token, then print the token’s issuer, subject, audience, and expiry so you can confirm which identity and instance you are authenticated as. No credentials are written to disk.

Prerequisites:

  • A GitLab Enterprise Edition (EE) instance on GitLab 19.1 or later.
  • Token exchange enabled on the instance (the gate_token_exchange_endpoint feature flag).

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

glab artifact-registry status [flags]

Examples

# Show Artifact Registry access status
glab artifact-registry status

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

Options

      --hostname string   GitLab hostname to check. Defaults to the configured GitLab instance.
      --jq string         Filter JSON output with a jq expression.
  -F, --output string     Format output as: text, json. (default "text")

Options inherited from parent commands

  -h, --help   Show help for this command.