Different secrets for Staging & Production
How would I override the secrets on the cloudflare workers dashboard with ones specifically for staging following best practices? I know I can use .env.production.vars but that's only for public, hardcoded variables and I need to set secrets.
1 Reply
Would set your secrets from an env file to a certain environment. These would be encrypted on cloudflare's platform and not public. Just don't commit the env file into git.
You'd call this command in your project directory in which you have the wrangler.toml/.jsonc.