Skip to content

Latest commit

 

History

History
52 lines (38 loc) · 1.29 KB

File metadata and controls

52 lines (38 loc) · 1.29 KB
title thv registry login
hide_title true
description Reference for ToolHive CLI command `thv registry login`
last_update
author
autogenerated
slug thv_registry_login
mdx
format
md

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