This project is intended to be safe to publish as open source.
- Cloudflare API tokens
- AWS access keys or secret keys
- Worker secret values
.dev.vars- production or staging admin secrets
- live webhook shared secrets
- environment values that are not intentionally public yet
- deployment domains that are not intentionally live yet
- environment-specific account identifiers when not needed
The repository may intentionally keep some non-secret, operationally necessary resource names, public routes, or public domains in tracked files when they are required for deployment or integration docs. Secrets must still never be committed.
Examples of tracked files that may contain either placeholders or intentionally public non-secret config:
wrangler.toml.dev.vars.example- deployment documentation
- local development:
.dev.vars - deployed Workers:
wrangler secret put - CI/CD: GitHub Actions environment secrets only when strictly necessary
Before publishing or sharing:
- verify tracked config files contain no secrets
- verify any tracked domains, route patterns, or resource identifiers are intentionally public or operationally necessary
- verify
.dev.varsis not tracked - verify docs do not contain non-public domains, account IDs, or deployed URLs unless intentionally public
- rotate any secret that may have been exposed during development
If a secret is accidentally exposed:
- revoke or rotate it immediately
- remove it from the repository and history if needed
- redeploy affected environments
- review access logs and provider dashboards