dflow apps:secret:set
Read a secret value from stdin and stage it. Run changes:deploy to apply it.
This sets one secret. The value is read from stdin, so it does not appear in your shell history. By default the command stages the secret in the environment draft and returns. Run dflow changes:deploy to apply it. With --trust-skip the change applies at once and the command waits for the deploy. The value is never printed back.
dflow apps:secret:set APP KEYFlags
The value is read from stdin. --trust-skip applies the change at once instead of staging it. --wait and --wait-timeout (default 5m) apply only when the change is applied at once.
What you see
The command prints that the change is staged. After dflow changes:deploy, the deploy operation finishes. With --trust-skip, the deploy operation finishes before the command returns. The value is not printed.
When it fails
A missing application exits 3.
How is this guide?
Last updated on