Cloudflare acquires Varlock, the tool behind .env.schema
Varlock replaces .env.example with a committed .env.schema file that validates and types your secrets. Cloudflare is folding it into Secrets Store and dropping its own hosted-vault plans.
Cloudflare announced on 2 December that it is acquiring Varlock, an open-source toolkit for managing environment variables and secrets. Varlock’s core idea is a .env.schema file, committed to Git in place of the usual .env.example, that declares each variable’s type and rules with decorator comments such as # @required and # @sensitive, then loads the real values from a vault or an encrypted local file at runtime.
Cloudflare is dropping its own plans for a hosted secrets vault and redirecting that work into Varlock’s approach instead, folding it into Cloudflare Secrets Store and the wider Developer Platform. Varlock stays MIT-licensed and open source, and Cloudflare says it wants .env.schema and the underlying @env-spec syntax to become an open standard rather than a Cloudflare-only format, following the pattern it set after acquiring Astro and VoidZero.
# .env.schema
# @required
# @sensitive
API_KEY=
Why it matters: most projects still track which environment variables are required, sensitive, or safe to log with a README comment or nothing at all, a gap that gets worse once an AI coding agent is the one reading and writing .env files unattended. A typed, committed schema that a vault can validate against closes that gap without asking teams to adopt a new hosted product.
The caveat: Cloudflare’s announcement gives no numbers, no version, and no migration timeline for .env.schema becoming part of Secrets Store, so there is nothing yet to act on beyond the format itself.