glab(1)

NAME
glab-artifact-registry-status - Check your access to the GitLab Artifact Registry. (EXPERIMENTAL)

SYNOPSIS
glab artifact-registry status [flags]

DESCRIPTION
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/.

OPTIONS
--hostname=""
    GitLab hostname to check. Defaults to the configured GitLab instance.

--jq=""
    Filter JSON output with a jq expression.

-F, --output="text"
    Format output as: text, json.

OPTIONS INHERITED FROM PARENT COMMANDS
-h, --help[=false]
    Show help for this command.

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

SEE ALSO
glab-artifact-registry(1)