(value: unknown, secret: boolean): string Format an env value for display, masking secrets.
value
the env value to format
type
unknownsecret
whether the value is secret and should be masked
type
booleanreturns
string display string — masked placeholder for secrets, string values as-is, non-strings JSON-stringified