stado service env write
Invocation
stado service env write [OPTIONS] --path-b64 <PATH_B64> --key-b64 <KEY_B64> --uid <UID>Purpose
Host primitive used by `set`/`unset` on a systemd unit: set (with --value-stdin, the base64 value on standard input) or remove one `Environment=` key in the file on this very host. The value never appears in argv, where every other process on the host could read it
Required inputs and options
| Input or option | Contract |
|---|---|
--path-b64 <PATH_B64> | Command option; required or optional as shown in the invocation. |
--key-b64 <KEY_B64> | Command option; required or optional as shown in the invocation. |
--value-stdin | Command option; required or optional as shown in the invocation. |
--uid <UID> | Command option; required or optional as shown in the invocation. |
Output and state effect
It performs the operation described above and emits its operator result on standard output or standard error. Any state change is limited to the resources and records named by the purpose and options on this page.
Refusals
- Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.