Skip to content

Commit 4251a19

Browse files
Append info about --remote flag for store commands
1 parent 36b906e commit 4251a19

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -685,11 +685,13 @@ wrangler secrets-store store create <name>
685685

686686
- `name` <Type text="string" /> <MetaInfo text="required" />
687687
- A descriptive name for the account-level secret. Cannot contain spaces.
688+
- `--remote` <Type text="boolean" /> <MetaInfo text="(default: false) required" />
689+
- Execute the command against the remote Secrets Store.
688690

689691
The following is an example of using the `create` command to create a store.
690692

691-
```txt
692-
wrangler secrets-store store create default --remote
693+
```sh
694+
npx wrangler secrets-store store create default --remote
693695
```
694696

695697
```sh output
@@ -707,11 +709,13 @@ wrangler secrets-store store delete <STORE_ID>
707709

708710
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
709711
- The secret store public ID. You can find it and copy from the [Secrets Store tab](https://dash.cloudflare.com/?to=/:account/secrets-store/) on the dashboard.
712+
- `--remote` <Type text="boolean" /> <MetaInfo text="(default: false) required" />
713+
- Execute the command against the remote Secrets Store.
710714

711715
The following is an example of using the `delete` command to delete a store.
712716

713717
```sh
714-
npx wrangler secrets-store store delete d2dafaeac9434de2b6d08b292ce08211
718+
npx wrangler secrets-store store delete d2dafaeac9434de2b6d08b292ce08211 --remote
715719
```
716720

717721
```sh output
@@ -727,10 +731,13 @@ List the stores within an account.
727731
wrangler secrets-store store list
728732
```
729733

734+
- `--remote` <Type text="boolean" /> <MetaInfo text="(default: false) required" />
735+
- Execute the command against the remote Secrets Store.
736+
730737
The following is an example of using the `list` command to list stores.
731738

732739
```sh
733-
npx wrangler secrets-store store list
740+
npx wrangler secrets-store store list --remote
734741
```
735742

736743
```sh output

0 commit comments

Comments
 (0)