# Varlock joins Cloudflare with a schema for secrets _Varlock is joining Cloudflare with a schema that validates environment variables and gives coding agents a safer way to handle secrets._ **Published:** 2026-12-02 **Source:** https://www.startuphub.ai/ai-news/technology/2026/varlock-joins-cloudflare-with-a-schema-for-secrets --- Environment variables are the settings a runtime hands to an application, from an API address to a Stripe key. Teams often reconstruct them from a stale .env.example file, a README and scattered validation code, while plaintext keys move through laptops, chat messages and dashboards. That maintenance chore is now an agent-security problem. [Varlock](https://blog.cloudflare.com/varlock-joins-cloudflare/), an open-source toolkit for environment configuration and secrets, is joining [Cloudflare](https://www.startuphub.ai/startups/cloudflare), which says the toolkit will remain actively developed, open source under the MIT license and vendor-neutral. Work that would have gone into a hosted Varlock product will instead feed Cloudflare Secrets Store and configuration handling across its developer platform. [Cloudflare](https://www.startuphub.ai/startups/cloudflare) points to its Astro and VoidZero acquisitions as evidence that it can support neutral open-source tools. It disclosed no purchase price or specific ship date for the Secrets Store work. The mechanism starts with a schema, a machine-readable description of required configuration, stored in a .env.schema file committed to Git instead of .env.example. JSDoc-style decorator comments, metadata attached to a setting, add rules that software can check. Cloudflare's example types API_URL as a URL. For STRIPE_SECRET_KEY, it adds # @required, # @sensitive, a string rule starting with sk_ and a link to [Stripe](https://www.startuphub.ai/ai-news/artificial-intelligence/2026/stripe-s-ai-strategy-build-everything-faster)'s key documentation. Loading is separate from validation: op("op://prod/stripe/secret-key") can retrieve the value through Varlock's 1Password plugin instead of storing it in the schema. [WPNews](https://wpnews.pro/news/varlock-is-joining-cloudflare) ties decorators such as # @required and # @sensitive to the resulting agent boundary, a validated source of truth that does not expose secret values. A coding agent can therefore discover that a Stripe key is required without receiving every credential. That does not stop prompt injection, where hostile text tries to steer an agent into unsafe actions, or prevent a compromised tool from abusing access it already has. ## Varlock's harder work starts after validation Varlock still has to turn a useful file format into a broader standard and rethink how credentials are issued. Its roadmap keeps better agent workflows, support beyond JavaScript, native encryption utilities and SOPS-style team vaults, meaning shared encrypted stores that need no external backend. Theo Ephraim and Brendan Irvine-Broque, who wrote the announcement, want .env.schema and the @env-spec syntax adopted outside Varlock, with help from beyond Cloudflare. Cloudflare's unfinished list includes credential brokering, OpenID Connect and bot identity, machine-driven issuing and rotation, and human approval for sensitive actions. OpenID Connect is a standard for verifying identity across services. Until those controls mature, a schema can describe a long-lived key without settling who may use it, when it rotates or which actions need approval. Developers can try Varlock's Cloudflare Workers integration now and keep using other vault plugins. Watch whether frameworks and competing platforms implement @env-spec; adoption outside Cloudflare, not the acquisition itself, will decide whether this becomes a shared standard. --- Original analysis from [startuphub.ai](https://www.startuphub.ai), the #1 AI startup directory. © StartupHub.ai. All rights reserved. You may not republish this article in full without a license. Search engines and AI research tools may crawl and summarize for reference. Bulk reproduction or model training on this content requires a license. See https://www.startuphub.ai/terms.