|
6 | 6 | label: Workers |
7 | 7 | --- |
8 | 8 |
|
9 | | -import { WranglerConfig, Tabs, TabItem, APIRequest } from "~/components"; |
| 9 | +import { WranglerConfig, Tabs, TabItem, APIRequest, DashButton } from "~/components"; |
10 | 10 |
|
11 | 11 | [Cloudflare Secrets Store](/secrets-store/) is a secure, centralized location in which account-level secrets are stored and managed. The secrets are securely encrypted and stored across all Cloudflare data centers. |
12 | 12 |
|
@@ -56,8 +56,11 @@ npx wrangler secrets-store secret create <STORE_ID> --name MY_SECRET_NAME --scop |
56 | 56 |
|
57 | 57 | </TabItem> <TabItem label="Dashboard"> |
58 | 58 |
|
59 | | -1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account. |
60 | | -2. Go to **Secrets Store** and select **Create secret**. |
| 59 | +1. In the Cloudflare dashboard, go to the **Secrets Store** page. |
| 60 | + |
| 61 | + <DashButton url="/?to=/:account/secrets-store" /> |
| 62 | + |
| 63 | +2. Select **Create secret**. |
61 | 64 | 3. Fill in the required fields, choosing _Workers_ as the **Permission scope**. Once the secret is saved, the secret value will no longer be available for viewing. |
62 | 65 | 4. (Optional) Select **Add additional secret** to create more than one secret at a time. |
63 | 66 | 5. Select **Save** to confirm. |
@@ -120,8 +123,11 @@ secrets_store_secrets = [ |
120 | 123 |
|
121 | 124 | ### Via Dashboard |
122 | 125 |
|
123 | | -1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account. |
124 | | -2. Go to **Workers & Pages** and select a Workers application. |
| 126 | +1. In the Cloudflare dashboard, go to **Workers & Pages**. |
| 127 | + |
| 128 | + <DashButton url="/?to=/:account/workers-and-pages" /> |
| 129 | + |
| 130 | +2. Select a Workers application. |
125 | 131 | 3. Go to **Settings** > **Bindings** and select **Add**. |
126 | 132 | 4. On the **Add a resource binding** side panel, choose **Secrets Store**. |
127 | 133 | 5. Fill in the required fields: |
|
0 commit comments