Skip to content

Commit f3c4010

Browse files
authored
[wrangler] add docs link to .env file for wrangler bulk secrets command (#19749)
Co-authored-by: Rohin Lohe <[email protected]>
1 parent 8756245 commit f3c4010

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
@@ -735,7 +735,7 @@ wrangler secret bulk [<FILENAME>] [OPTIONS]
735735
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
736736
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
737737
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
738-
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
738+
- 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`.
739739
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
740740
- `--name` <Type text="string" /> <MetaInfo text="optional" />
741741
- Perform on a specific Worker rather than inheriting from the [Wrangler configuration file](/workers/wrangler/configuration/).
@@ -1223,7 +1223,7 @@ wrangler pages secret bulk [<FILENAME>] [OPTIONS]
12231223
- `FILENAME` <Type text="string" /> <MetaInfo text="optional" />
12241224
- A file containing either [JSON](https://www.json.org/json-en.html) or the [.env](https://www.dotenv.org/docs/security/env) format
12251225
- The JSON file containing key-value pairs to upload as secrets, in the form `{"SECRET_NAME": "secret value", ...}`.
1226-
- The `.env` file containing key-value pairs to upload as secrets, in the form `SECRET_NAME=secret value`.
1226+
- 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`.
12271227
- If omitted, Wrangler expects to receive input from `stdin` rather than a file.
12281228
- `--project-name` <Type text="string" /> <MetaInfo text="optional" />
12291229
- The name of your Pages project.

0 commit comments

Comments
 (0)