> Markdown version of https://tuna.am/en/docs/cli/secrets/download/. 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 download

Download a config's secrets.

Usage

```bash
tuna secrets download [filename] [flags]

```

| Flag                        | Description                                                                                          |
| --------------------------- | ---------------------------------------------------------------------------------------------------- |
| `-c, --config string`       | Configuration name.                                                                                  |
| `--format string`           | Output format (json, yaml, env, env-no-quotes or docker). Default: `json`.                           |
| `--name-transformer string` | Transform secret names (upper-camel, camel, lower-snake, lower-kebab, tf-var, dotnet or dotnet-env). |
| `--no-file`                 | Prints response to Stdout.                                                                           |
| `-p, --project string`      | Project name.                                                                                        |
| `--scope string`            | Directory to scope configuration. Default: `.`.                                                      |

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 | Added the `--name-transformer` flag. |
| 0.24.0 | Command added.                       |
