# Update a secret

Collection: cli
Human docs: https://zei.sh/docs/cli

Update secret metadata or value.

Command: zeishctl secrets update SECRET_ID --name NAME < value.txt
Only supplied fields change. Value input follows the same safe stdin and file rules as create.

Example:

```
zeishctl secrets update SECRET_ID --name NAME < value.txt
```
