Commit 9e9db38
docs(astro): build-time env vars do NOT propagate to the SSR runtime
Kychon flagged this in their @run402/astro 1.2.2 verification:
process.env.KYCHON_ANON_KEY exported in the build shell surfaces as
length 0 inside the SSR Lambda. The Run402-managed channel (RUN402_*)
IS auto-injected; user secrets need a different path.
Documented three options: run402 secrets set (canonical request-time
secret path), x-run402-* request headers (per-tenant values the gateway
already knows), bake into bundle at build (public + stable values).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 82d353f commit 9e9db38
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
72 | 84 | | |
73 | 85 | | |
74 | 86 | | |
| |||
0 commit comments