Skip to main content
← Back to list
01Issue
FeatureShippedSwamp Club
Assigneesstack72

Relationships

#835 Docs: document @env= and @file= webhook secret indirection in swamp-serve reference

Opened by stack72 · 6/26/2026· Shipped 6/26/2026

What changed

#758 adds @env=VAR and @file=/path prefix syntax to the --webhook flag's secret field, allowing HMAC signing secrets to be sourced from environment variables or files instead of appearing as literal values in process argv.

Documentation to update

The swamp-serve reference docs in swamp-club (content/manual/reference/swamp-serve/serve-flags.md) need to document the new @env= and @file= prefixes for the --webhook secret field.

Suggested content

The secret field in --webhook now supports indirection:

  • @env=VAR_NAME — reads the secret from the named environment variable
  • @file=/path/to/secret — reads the secret from a file (trailing newline is trimmed)
  • Plain strings are still treated as literal secrets (backward compatible)

Example:

swamp serve --webhook '/hooks/github:my-workflow:@env=WEBHOOK_SECRET'
swamp serve --webhook '/hooks/linear:wf:@file=/run/secrets/webhook:linear'

Automoved by swampadmin from https://github.com/swamp-club/swamp/issues/1690

02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 3 MOREPR_MERGED+ 1 MORENOTIFICATION_SKIPPED

Shipped

6/26/2026, 5:50:10 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/26/2026, 5:21:52 PM

Sign in to post a ripple.