opschain secret delete
Included from Basic tier
opschain secret delete <key>
Removes a secret from the local secret store. On success it prints
secret <key> deleted (suppressed by -q); first-use master-key notices go
to stderr (see opschain docs cli/secret). Deletion is immediate and
unversioned — there is no history to restore from, so a deleted value is
gone unless you still hold it elsewhere.
Exit codes
| Code | Meaning |
|---|---|
| 0 | Deleted. |
| 1 | The key does not exist, or the store could not be opened or written. |
| 2 | Usage error. |
Named errors
secret <key> not found— no secret is stored under the key.
Examples
opschain secret delete db/password
secret db/password deleted
See also
opschain docs cli/secret-set,opschain docs cli/secret-ls.