---
title: thv secret
hide_title: true
description: Reference for ToolHive CLI command `thv secret`
last_update:
  author: autogenerated
slug: thv_secret
mdx:
  format: md
---

## thv secret

Manage secrets

### Synopsis

Manage secrets using the configured secrets provider.

The secret command provides subcommands to configure, store, retrieve, and manage secrets securely.

Run "thv secret setup" first to configure a secrets provider before using any secret operations.

### Options

```
  -h, --help   help for secret
```

### Options inherited from parent commands

```
      --debug   Enable debug mode
```

### SEE ALSO

* [thv](thv.md)	 - ToolHive (thv) is a lightweight, secure, and fast manager for MCP servers
* [thv secret delete](thv_secret_delete.md)	 - Delete a secret
* [thv secret get](thv_secret_get.md)	 - Get a secret
* [thv secret list](thv_secret_list.md)	 - List all available secrets
* [thv secret provider](thv_secret_provider.md)	 - Set the secrets provider directly
* [thv secret reset-keyring](thv_secret_reset-keyring.md)	 - Reset the keyring password
* [thv secret set](thv_secret_set.md)	 - Set a secret
* [thv secret setup](thv_secret_setup.md)	 - Set up secrets provider

