Software Engineering

Workers - Declare required secrets in your Wrangler configuration

Cloudflare Developer Platform Changelog · 2026-03-25

The new secrets configuration property lets you declare the secret names your Worker requires in your Wrangler configuration file. Required secrets are validated during local development and deploy, and used as the source of truth for type generation. wrangler.jsonc { " secrets " : { " required " : [ "APIKEY" , "DBP...

Feedback