> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valkyrie.vals.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# valkyrie secret

> Complete generated reference for every `valkyrie secret` command.

This page documents all 3 commands in the `secret` group in registration order. Use the table of contents to jump to a command.

## `valkyrie secret set`

Store a secret, replacing its value if it already exists.

Reads one line from a hidden prompt, or the whole value from stdin when piped; pipe multi-line values such as JSON. The value is never taken from the command line. Prints the reference to use as the secret name.

```bash Syntax theme={null}
valkyrie secret set \
  <NAME>
```

```bash Example theme={null}
# Example only, review before running
valkyrie secret set openai-key
valkyrie secret set daytona < daytona.json
```

**Arguments**

NAMErequired · `text`

Task guidance: [Secret guides](https://docs.valkyrie.vals.ai/get-started/sandbox-providers.md).

***

## `valkyrie secret list`

List stored secrets by name, without their values.

Secrets set or removed in the last few minutes may not show up yet.

```bash Syntax theme={null}
valkyrie secret list \
  [--format <CHOICE>]
```

**Options**

\--formatoptional · `choice` · default: `'text'` · constraints: one of text, json; case-insensitive

Output format.

Task guidance: [Secret guides](https://docs.valkyrie.vals.ai/get-started/sandbox-providers.md).

***

## `valkyrie secret remove`

Delete a stored secret. It cannot be recovered.

```bash Syntax theme={null}
valkyrie secret remove \
  <NAME> \
  [--yes|-y]
```

**Arguments**

NAMErequired · `text`

**Options**

\--yes, -yoptional · `boolean` · default: `False`

Skip the confirmation prompt.

Task guidance: [Secret guides](https://docs.valkyrie.vals.ai/get-started/sandbox-providers.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.