Skip to content

Commit 28a23ec

Browse files
committed
[wrangler] add docs link to .env file for wrangler bulk secrets command
1 parent 0136435 commit 28a23ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ wrangler secret bulk [<FILENAME>] [OPTIONS]
741741
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
742742
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
743743
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
744-
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
744+
- The `.env` file containing [key-value pairs to upload as secrets](/workers/configuration/secrets/#local-development-with-secrets), in the form `SECRET_NAME=secret value`.
745745
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
746746
- `--name` <Type text="string" /> <MetaInfo text="optional" />
747747
- Perform on a specific Worker rather than inheriting from the [Wrangler configuration file](/workers/wrangler/configuration/).
@@ -1229,7 +1229,7 @@ wrangler pages secret bulk [<FILENAME>] [OPTIONS]
12291229
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
12301230
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
12311231
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
1232-
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
1232+
- The `.env` file containing [key-value pairs to upload as secrets](/workers/configuration/secrets/#local-development-with-secrets), in the form `SECRET_NAME=secret value`.
12331233
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
12341234
- `--project-name` <Type text="string" /> <MetaInfo text="optional" />
12351235
- The name of your Pages project.

0 commit comments

Comments
 (0)