EAS build secrets stay out of bundles when env profiles and eas.json split right
A secret that ships inside your JavaScript bundle is not a secret. In Expo production builds, the most common leak is not a hacked server — it is a service key baked into the bundle through a public environment variable, then published to a store listing that anyone can download and unpack.
This post lays out a practical split for EAS builds: public config that is safe to embed, server-side secrets that never enter the bundle, and the profile setup that keeps staging and production from cross-contaminating each other.
If you are catching up on the release lane, start with /blog/eas-update-rollback-plan — the rollback plan assumes your builds are reproducible, and reproducible builds start with clean environment separation.
This is an excerpt. Read the full post at otf-kit.dev/blog/eas-build-secrets-env-profiles-production — full-stack kits your AI coding agent can actually ship to production. Browse the kits →
