| title | thv secret provider | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv secret provider` | ||
| last_update |
|
||
| slug | thv_secret_provider | ||
| mdx |
|
Set the secrets provider directly
Configure the secrets provider directly.
Note: The "thv secret setup" command is recommended for interactive configuration.
Use this command to set the secrets provider directly without interactive prompts, making it suitable for scripted deployments and automation.
Valid secrets providers:
- encrypted: Full read-write secrets provider using AES-256-GCM encryption
- 1password: Read-only secrets provider (requires OP_SERVICE_ACCOUNT_TOKEN)
- environment: Read-only secrets provider from TOOLHIVE_SECRET_* env vars
thv secret provider <name> [flags]
-h, --help help for provider
--debug Enable debug mode
- thv secret - Manage secrets