Skip to content

[codex] Document build-time auth token setup#114

Merged
albert-einshutoin merged 1 commit into
developfrom
feature/docs-build-secret-prereq
May 7, 2026
Merged

[codex] Document build-time auth token setup#114
albert-einshutoin merged 1 commit into
developfrom
feature/docs-build-secret-prereq

Conversation

@albert-einshutoin
Copy link
Copy Markdown
Owner

Summary

Documents the build-time secret prerequisite for policies that use static_token auth gates.

Why

The built-in base/admin examples reference EDGE_ADMIN_TOKEN, and CloudFront Functions bake static token values into generated artifacts. Without that environment variable, the documented Quick Start build and doctor flow fails locally.

Changes

  • Adds EDGE_ADMIN_TOKEN setup before the Quick Start build command in English and Japanese READMEs.
  • Documents --allow-placeholder-token as a non-production fixture option.
  • Clarifies that doctor should run with the same environment variables as build.

Validation

  • EDGE_ADMIN_TOKEN=ci-build-token-not-for-deploy npm run build
  • EDGE_ADMIN_TOKEN=ci-build-token-not-for-deploy node bin/cli.js doctor --no-report

@albert-einshutoin albert-einshutoin marked this pull request as ready for review May 7, 2026 06:53
@albert-einshutoin albert-einshutoin merged commit 25bf21b into develop May 7, 2026
5 checks passed
@albert-einshutoin albert-einshutoin deleted the feature/docs-build-secret-prereq branch May 7, 2026 06:53
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.

1 participant