Vercel Flags SDK removes the need to configure FLAGS_SECRET
11/25/2026
flags@4.5.0 lets Vercel projects use Flags Explorer and precomputation without configuring FLAGS_SECRET.
Key points
•Vercel signs Flags Explorer discovery requests and overrides; the SDK uses Vercel's public key to encrypt the flag values shown in the Toolbar.
•Existing projects that still set the environment variable or pass a secret in code keep using FLAGS_SECRET.
•Secretless precomputation relies on Vercel system environment variables, which are enabled by default, and the codes are scoped to the current deployment.
Impact
•New projects and microfrontends need one less configuration step and no longer have to share a secret across them.
•Upgrading does not switch automatically; prebuilt deployments and codes that span deployments still need a secret; if you use the build cache, check the precomputation docs for the required configuration.
Recommendations
1.To use the managed secret: remove FLAGS_SECRET and any code that passes the secret explicitly.
2.For local development, run vercel env pull to fetch environment variables.
3.Prebuilt deployments and codes that span deployments still need a secret; if only precomputation needs one, you can use FLAGS_PRECOMPUTE_SECRET.