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

## thv secret delete

Delete a secret

### Synopsis

Remove a secret from the configured secrets provider.

This command permanently deletes the specified secret from your secrets provider.
Once you delete a secret, you cannot recover it unless you have a backup.

Note that some secrets providers may not support deletion operations.
If your provider is read-only or doesn't support deletion, this command returns an error.

```
thv secret delete <name> [flags]
```

### Options

```
  -h, --help     help for delete
      --system   Allow deleting a system-managed secret (emergency use only)
```

### Options inherited from parent commands

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

### SEE ALSO

* [thv secret](thv_secret.md)	 - Manage secrets

