| title | thv secret get | ||
|---|---|---|---|
| hide_title | true | ||
| description | Reference for ToolHive CLI command `thv secret get` | ||
| last_update |
|
||
| slug | thv_secret_get | ||
| mdx |
|
Get a secret
Retrieve and display the value of a secret by name.
This command fetches the specified secret from your configured secrets provider and displays its value. The secret value prints to stdout, making it suitable for use in scripts or command substitution.
The secret must exist in your configured secrets provider, otherwise the command returns an error.
thv secret get <name> [flags]
-h, --help help for get
--debug Enable debug mode
- thv secret - Manage secrets