Skip to content

Commit 9a08e00

Browse files
committed
docs for wrangler secret bulk env file support
1 parent b7e361e commit 9a08e00

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/content/docs/workers/wrangler/commands.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,9 @@ wrangler secret:bulk [<FILENAME>] [OPTIONS]
12721272
```
12731273

12741274
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
1275+
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
12751276
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
1277+
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
12761278
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
12771279
- `--name` <Type text="string" /> <MetaInfo text="optional" />
12781280
- Perform on a specific Worker rather than inheriting from `wrangler.toml`.
@@ -1458,7 +1460,7 @@ wrangler workflows trigger <WORKFLOW_NAME> <PARAMS> [OPTIONS]
14581460
wrangler workflows trigger my-workflow '{"hello":"world"}'
14591461
```
14601462

1461-
{/*
1463+
{/\*
14621464

14631465
### `delete`
14641466

@@ -1471,7 +1473,7 @@ wrangler workflows delete <WORKFLOW_NAME> [OPTIONS]
14711473
- `WORKFLOW_NAME` <Type text="string" /> <MetaInfo text="required" />
14721474
- The name of a registered Workflow.
14731475

1474-
*/}
1476+
\*/}
14751477

14761478
## `tail`
14771479

@@ -1760,7 +1762,9 @@ wrangler pages secret bulk [<FILENAME>] [OPTIONS]
17601762
```
17611763

17621764
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
1765+
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
17631766
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
1767+
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
17641768
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
17651769
- `--project-name` <Type text="string" /> <MetaInfo text="optional" />
17661770
- The name of your Pages project.
@@ -2052,7 +2056,9 @@ wrangler versions secret bulk <FILENAME> [OPTIONS]
20522056
```
20532057

20542058
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
2059+
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
20552060
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
2061+
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
20562062
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
20572063
- `--name` <Type text="string" /> <MetaInfo text="optional" />
20582064
- Perform on a specific Worker rather than inheriting from `wrangler.toml`.

0 commit comments

Comments
 (0)