terenced
terenced
Explore posts from servers
CDCloudflare Developers
Created by terenced on 4/28/2024 in #workers-help
Do I need to store my environment variables in wrangler.toml?
Do env vars need to be defined in the wrangle.toml? I initially have the env var in .dev.vars, and manually added the value for the env var in the Cloudflare, however, whenever I deploy the worker, it overrides the env var I manually configured. The worker is a public github, and I would rather not have the env var exposed. I know I could just use a secret, I would rather have env vars seperate from the code.
10 replies