-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add dotenv support to wrangler secret bulk (#7674)
* add dotenv support to wrangler secret bulk * remove x-versions arg * remove old --x-versions flag * PR feedback --------- Co-authored-by: Thomas Ankcorn <tankcorn@cloudflare.com>
- Loading branch information
Showing
10 changed files
with
507 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
"wrangler": minor | ||
--- | ||
|
||
Add support for env files to wrangler secret bulk i.e. `.dev.vars` | ||
|
||
Run `wrangler secret bulk .dev.vars` to add the env file | ||
|
||
```env | ||
//.dev.vars | ||
KEY=VALUE | ||
KEY_2=VALUE | ||
``` | ||
|
||
This will upload the secrets KEY and KEY_2 to your worker |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.