wrangler feature request: i keep pushing

wrangler feature request: i keep pushing deploys without first pushing the secrets needed. it'd be nice if we could specify in wrangler.toml that a secret is expected, and throw an error a) at dev time if it's not specified in .dev.vars and b) at deploy time if the secret doesn't exist in the live environment
2 Replies
Walshy
Walshy•4w ago
This is something I've requested too before actually! So +1 from me It'd also just be nice to have them documented - right now I just do # Secret: MY_SECRET under [vars] which is ew let me bring this up with the team again 🙂
zsmooth
zsmoothOP•4w ago
yeah - that's the same thing I do. it just adds friction every time i deploy a feature that needs a new secret cause i never remember to push it out first 🙂

Did you find this page helpful?