Skip to content

feat(worker-turbo): secrets-live v2 — runtime worker secrets from orun, not the AWS escrow - #10

Merged
ruehowl merged 1 commit into
mainfrom
feat/secrets-live-v2
Jul 27, 2026
Merged

ruehowl merged 1 commit into
mainfrom
feat/secrets-live-v2

Conversation

@ruehowl

@ruehowl ruehowl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Replaces the SS2 escrow flow: secrets-live now sources runtime worker secrets from the job env — resolved best-effort by orun from the component's optionalSecretEnv (sourceplane/orun#575 / orun-cloud#666) — and pushes the names listed in the new runtimeSecrets parameter via wrangler secret bulk. Unseeded names skip with a by-name report; jq -Rs keeps multiline values (PEM keys) intact. secretsWorker + the AWS escrow/fingerprint machinery are retired. Stack 0.15.0 → 0.16.0; requires orun ≥ v2.41.0.

The wire-now-seed-later contract: a consumer repo declares the keys once; seeding a value in orun makes the next deploy push it — zero repo changes per secret.

🤖 Generated with Claude Code

…n, not the AWS escrow

The secrets-live step no longer fetches the worker-secrets escrow document
from AWS Secrets Manager: the component declares its runtime keys in
optionalSecretEnv (resolved best-effort into the job env by orun) and names
them in the new runtimeSecrets parameter. Names with values present are
pushed via wrangler secret bulk after deploy; unseeded names are skipped and
reported by name only. jq -Rs per value keeps multiline material (PEM keys)
intact; the runner's redactor scrubs any resolved value from captured
output. secretsWorker + the escrow/fingerprint flow are retired. Stack
0.15.0 -> 0.16.0. Requires orun >= v2.41.0 (optionalSecretEnv).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ruehowl
ruehowl merged commit f8a4719 into main Jul 27, 2026
1 check passed
@ruehowl
ruehowl deleted the feat/secrets-live-v2 branch July 27, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants