Flags SDK now works on Vercel without FLAGS_SECRET
Flags SDK 4.5.0 lets projects on Vercel use Flags Explorer and deployment-scoped precompute without setting FLAGS_SECRET.
Starting with **flags@4.5.0**, Vercel projects can use Flags Explorer and precompute without setting **FLAGS_SECRET**.
Vercel signs discovery requests and overrides, and the SDK encrypts flag values shown in the Toolbar with Vercel’s public key. Existing projects switch to Vercel-managed keys by removing the variable and any secret passed in code. For local development, Vercel directs users to run vercel env pull.
Starting with **flags@4.5.0**, Vercel projects can use Flags Explorer and precompute without setting **FLAGS_SECRET**. Vercel signs discovery requests and overrides, and the SDK encrypts flag values shown in the Toolbar with Vercel’s public key. Existing projects switch to Vercel-managed keys by removing the variable and any secret passed in code. For local development, Vercel directs users to run vercel env pull. Precompute requires Vercel’s system environment variables in this mode, and codes work only in the **deployment that created them**. Prebuilt deployments and codes used across deployments still require a secret. **FLAGS_PRECOMPUTE_SECRET** is available when only precompute needs one.
Vercel now handles flag credentials in two distinct places. Project Connections use deployment identity for cross-project reads, while Flags SDK 4.5.0 removes the shared-secret setup for Explorer and deployment-local precompute. Teams can drop FLAGS_SECRET where those boundaries fit. Workflows that reuse precompute codes across deployments or use prebuilt deployments still need a secret.