Skip to main content
Version: Enterprise 1.1

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 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