Skip to content

Commit cc2f9f1

Browse files
Fix order to match list at the top of the page
1 parent afa0542 commit cc2f9f1

File tree

1 file changed

+75
-75
lines changed

1 file changed

+75
-75
lines changed

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

Lines changed: 75 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -517,81 +517,6 @@ Finished processing secrets JSON file:
517517
🚨 1 secrets failed to upload
518518
```
519519

520-
## `secrets-store store`
521-
522-
You can use the following commands to manage your store.
523-
524-
:::note[Store limitation]
525-
Each account only supports one store in beta.
526-
:::
527-
528-
### `create`
529-
530-
Create a store within Secrets Store.
531-
532-
```txt
533-
wrangler secrets-store store create <name>
534-
```
535-
536-
- `name` <Type text="string" /> <MetaInfo text="required" />
537-
- A descriptive name for the account-level secret. Cannot contain spaces.
538-
539-
The following is an example of using the `create` command to create a store.
540-
541-
```txt
542-
wrangler secrets-store store create default --remote
543-
```
544-
545-
```sh output
546-
🔐 Creating store... (Name: default)
547-
✅ Created store! (Name: default, ID: 2e2a82d317134506b58defbe16982d54)
548-
```
549-
550-
### `delete`
551-
552-
Delete a store within Secrets Store.
553-
554-
```txt
555-
wrangler secrets-store store delete <STORE_ID>
556-
```
557-
558-
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
559-
- 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.
560-
561-
The following is an example of using the `delete` command to delete a store.
562-
563-
```sh
564-
npx wrangler secrets-store store delete d2dafaeac9434de2b6d08b292ce08211
565-
```
566-
567-
```sh output
568-
🔐 Deleting store... (Name: d2dafaeac9434de2b6d08b292ce08211)
569-
✅ Deleted store! (ID: d2dafaeac9434de2b6d08b292ce08211)
570-
```
571-
572-
### `list`
573-
574-
List the stores within an account.
575-
576-
```txt
577-
wrangler secrets-store store list
578-
```
579-
580-
The following is an example of using the `list` command to list stores.
581-
582-
```sh
583-
npx wrangler secrets-store store list
584-
```
585-
586-
```sh output
587-
🔐 Listing stores...
588-
┌─────────┬──────────────────────────────────┬──────────────────────────────────┬──────────────────────┬──────────────────────┐
589-
│ Name │ ID │ AccountID │ Created │ Modified │
590-
├─────────┼──────────────────────────────────┼──────────────────────────────────┼──────────────────────┼──────────────────────┤
591-
│ default │ 8876bad33f164462bf0743fe8adf98f4 │ REDACTED │ 4/9/2025, 1:11:48 PM │ 4/9/2025, 1:11:48 PM │
592-
└─────────┴──────────────────────────────────┴──────────────────────────────────┴──────────────────────┴──────────────────────┘
593-
```
594-
595520
## `secrets-store secret`
596521

597522
With the release of [Secrets Store](/secrets-store/) in open beta, you can use the following commands to manage your account secrets.
@@ -742,6 +667,81 @@ wrangler secrets-store secret list <STORE_ID>
742667
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
743668
- 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.
744669

670+
## `secrets-store store`
671+
672+
You can use the following commands to manage your store.
673+
674+
:::note[Store limitation]
675+
Each account only supports one store in beta.
676+
:::
677+
678+
### `create`
679+
680+
Create a store within Secrets Store.
681+
682+
```txt
683+
wrangler secrets-store store create <name>
684+
```
685+
686+
- `name` <Type text="string" /> <MetaInfo text="required" />
687+
- A descriptive name for the account-level secret. Cannot contain spaces.
688+
689+
The following is an example of using the `create` command to create a store.
690+
691+
```txt
692+
wrangler secrets-store store create default --remote
693+
```
694+
695+
```sh output
696+
🔐 Creating store... (Name: default)
697+
✅ Created store! (Name: default, ID: 2e2a82d317134506b58defbe16982d54)
698+
```
699+
700+
### `delete`
701+
702+
Delete a store within Secrets Store.
703+
704+
```txt
705+
wrangler secrets-store store delete <STORE_ID>
706+
```
707+
708+
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
709+
- 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.
710+
711+
The following is an example of using the `delete` command to delete a store.
712+
713+
```sh
714+
npx wrangler secrets-store store delete d2dafaeac9434de2b6d08b292ce08211
715+
```
716+
717+
```sh output
718+
🔐 Deleting store... (Name: d2dafaeac9434de2b6d08b292ce08211)
719+
✅ Deleted store! (ID: d2dafaeac9434de2b6d08b292ce08211)
720+
```
721+
722+
### `list`
723+
724+
List the stores within an account.
725+
726+
```txt
727+
wrangler secrets-store store list
728+
```
729+
730+
The following is an example of using the `list` command to list stores.
731+
732+
```sh
733+
npx wrangler secrets-store store list
734+
```
735+
736+
```sh output
737+
🔐 Listing stores...
738+
┌─────────┬──────────────────────────────────┬──────────────────────────────────┬──────────────────────┬──────────────────────┐
739+
│ Name │ ID │ AccountID │ Created │ Modified │
740+
├─────────┼──────────────────────────────────┼──────────────────────────────────┼──────────────────────┼──────────────────────┤
741+
│ default │ 8876bad33f164462bf0743fe8adf98f4 │ REDACTED │ 4/9/2025, 1:11:48 PM │ 4/9/2025, 1:11:48 PM │
742+
└─────────┴──────────────────────────────────┴──────────────────────────────────┴──────────────────────┴──────────────────────┘
743+
```
744+
745745
## `workflows`
746746

747747
:::note

0 commit comments

Comments
 (0)