---
url: https://docs.mochiexec.io/reference/cli/mochi_secret_list.md
description: List secrets stored in the current vault.
---

# mochi secret list

List secrets stored in the current vault.

```shell
mochi secret list [flags]
```

## Options

| Flag | Type | Description |
|------|------|-------------|
| `-h, --help` |  | help for list |
| `-o, --output` | `string` | Output format. One of: yaml, json, or tui. |
| `-p, --plaintext` |  | Output the secret value as plain text instead of an obfuscated string |
| `-V, --vault` | `string` | Vault name to use instead of the current vault. |

## Options inherited from parent commands

| Flag | Type | Description |
|------|------|-------------|
| `-L, --log-level` | `string` | Log verbosity level (debug, info, fatal) (default "info") |
| `--sync` |  | Sync flow cache and workspaces |

## See also

* [mochi secret](mochi_secret.md) — Manage secrets stored in a vault.
