# dflow apps:secret:set

> Read a secret value from stdin and wait for the deploy.

Web page: /docs/cli/apps/apps-secret-set/

This sets one secret. The value is read from stdin, so it does not appear in your shell history. The command waits for a deploy, and it does not print the value back.

```bash
dflow apps:secret:set APP KEY
```

## Flags

The value is read from stdin. `--wait` defaults to true. `--wait-timeout` defaults to 5m.

## What you see

The deploy operation finishes. The value is not printed.

## When it fails

A missing application exits 3.
