Secrets in local dev without writing to disk. #8717
Unanswered
andrewhamon
asked this question in
Q&A
Replies: 1 comment
-
See |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way I can supply secrets to wrangler in local dev without writing them to disk? It seems like env vars do not work, but i also don't want to write secrets to disk with
.dev.vars
Right now my bad idea is to have a utility function which can choose between the cf env and process.env. Then I can inject secrets into the env in dev, but still use cloudflare secret storage in production, and my dev secrets never get written to disk.
Beta Was this translation helpful? Give feedback.
All reactions