Skip to content

Commit 75c9894

Browse files
Add arguments description using partial for KEY ones
1 parent 68cbab5 commit 75c9894

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,9 @@ Create a secret within a store.
740740
wrangler secrets-store secret create <STORE_ID>
741741
```
742742

743+
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
744+
- 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.
745+
743746
### `update`
744747

745748
Update a secret within a store.
@@ -748,6 +751,8 @@ Update a secret within a store.
748751
wrangler secrets-store secret update <KEY> <STORE_ID>
749752
```
750753

754+
<Render file="wrangler-commands/secrets-store" product="workers" />
755+
751756
### `duplicate`
752757

753758
Duplicate a secret within a store.
@@ -756,13 +761,16 @@ Duplicate a secret within a store.
756761
wrangler secrets-store secret duplicate <KEY> <STORE_ID>
757762
```
758763

764+
<Render file="wrangler-commands/secrets-store" product="workers" />
765+
759766
### `get`
760767

761768
Get a secret within a store.
762769

763770
```txt
764771
wrangler secrets-store secret get <KEY> <STORE_ID>
765772
```
773+
<Render file="wrangler-commands/secrets-store" product="workers" />
766774

767775
### `delete`
768776

@@ -775,6 +783,7 @@ Before deleting a secret, make sure it is not deployed in any Workers applicatio
775783
```txt
776784
wrangler secrets-store secret delete <KEY> <STORE_ID>
777785
```
786+
<Render file="wrangler-commands/secrets-store" product="workers" />
778787

779788
### `list`
780789

@@ -784,6 +793,9 @@ List secrets within a store.
784793
wrangler secrets-store secret list <STORE_ID>
785794
```
786795

796+
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
797+
- 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.
798+
787799
## `workflows`
788800

789801
:::note
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
params:
3+
- conditional?
4+
---
5+
6+
import { Type, MetaInfo } from "~/components";
7+
8+
- `STORE_ID` <Type text="string" /> <MetaInfo text="required" />
9+
- 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.
10+
11+
- `KEY` <Type text="string" /> <MetaInfo text="required" />
12+
- The name of the account-level secret on which you are using the command.

0 commit comments

Comments
 (0)