CLI reference / service / env

stado service env

Invocation

stado service env [OPTIONS] <NAME>

Purpose

The effective environment a managed unit runs with, secrets redacted. Parsed from the plist or systemd unit and its drop-ins. Values whose variable name looks like a credential are replaced, in the table and in `--json` alike.

Required inputs and options

Input or optionContract
<NAME>Service name, or the host's own name for the unit
--host <HOST>Restrict to one registry host; omit to read every host that manages it
--jsonCommand 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.