> Markdown version of https://tuna.am/en/docs/cli/secrets/list/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# tuna secrets list

List secrets in a config.

Alias: `ls`.

Usage

```bash
tuna secrets list [flags]

```

| Flag                   | Description                                                                   |
| ---------------------- | ----------------------------------------------------------------------------- |
| `-c, --config string`  | Configuration name (the CLI config file path is controlled by `TUNA_CONFIG`). |
| `--only-names`         | Only print the secret names.                                                  |
| `-p, --project string` | Project name.                                                                 |
| `--scope string`       | Directory to scope configuration. Default: `.`.                               |
| `--values`             | Show values instead of fingerprints in the VALUE column.                      |

Also accepts the flags of [`tuna secrets`](https://tuna.am/en/docs/cli/secrets.md).

[Global flags](https://tuna.am/en/docs/cli.md#global-flags) work too.

## History

|        |                |
| ------ | -------------- |
| 0.35.0 | Command added. |
