sincecutoff.com
← all changes

Redact sensitive Workflows step output in local dev

Introduced 2026-07-21 · score 0.94

HOW TO USE IT

When a step’s output should be hidden during local Workflow development, set `sensitive: "output"` in its step config. Run the Workflow locally with Wrangler; the output is redacted in step logs and step-output responses while downstream steps receive the real value.

await step.do("<step-name>", { sensitive: "output" }, async () => { return <value>; });
npx wrangler dev curl http://localhost:8787

WHY THIS HELPS

Run a Workflow locally with steps whose output is marked sensitive.

REQUIREMENTS AND LIMITATIONS

  • Version: 4.113.0
  • sensitive: Set to `"output"` to redact the step output from logs and step-output responses.
  • Prerequisite: Local Workflows development requires Wrangler v3.89.0 or later and Node.js 18.0.0 or later.
  • The described redaction applies when running Workflows locally.
  • Step errors are never redacted.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card