best practice for typegen of secrets in CI?
I would like to generate types in a ci github action but problem is it does not have access to secrets.
If I put a blank string value in wrangler.jsonc it will overwrite the actual secret when it's deployed.
1 Reply
update: didn't know about secret store. going to just do that https://developers.cloudflare.com/secrets-store/integrations/workers/
Cloudflare Docs
Use Secrets Store with Workers · Secrets Store docs
Cloudflare Secrets Store is a secure, centralized location in which account-level secrets are stored and managed. The secrets are securely encrypted and stored across all Cloudflare data centers.