Skip to main content

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

      --audience string    OAuth audience (optional)
--client-id string OAuth client ID to save if OAuth is not configured
-h, --help help for login
--issuer string OIDC issuer URL to save if OAuth is not configured
--registry string Registry URL to save if not already configured
--scopes strings OAuth scopes (defaults to openid,offline_access)

Options inherited from parent commands

      --debug   Enable debug mode

SEE ALSO