thv_registry_login.md

May 20, 2026 ยท View on GitHub

thv registry login

Authenticate with the configured registry

Synopsis

Perform an interactive OAuth login against the configured registry.

If the registry URL or OAuth configuration (issuer, client-id) are not yet saved in config, you can supply them as flags and they will be persisted before the login flow begins.

Examples: thv registry login thv registry login --registry https://registry.example.com/api --issuer https://auth.example.com --client-id my-app

thv registry login [flags]

Options

  -p, --allow-private-ip   Allow --registry to reference a private IP address (default false). Mirrors the flag on 'thv config set-registry'.
      --audience string    OAuth audience parameter for registry authentication (optional)
      --client-id string   OAuth client ID for registry authentication
  -h, --help               help for login
      --issuer string      OIDC issuer URL for registry authentication
      --registry string    Registry URL
      --scopes strings     OAuth scopes for registry authentication (defaults to openid,offline_access)

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO