Skip to content

Commit 0fe9066

Browse files
Implement DashButton on workers.mdx
1 parent 06bff8e commit 0fe9066

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/content/docs/secrets-store/integrations/workers.mdx

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar:
66
label: Workers
77
---
88

9-
import { WranglerConfig, Tabs, TabItem, APIRequest } from "~/components";
9+
import { WranglerConfig, Tabs, TabItem, APIRequest, DashButton } from "~/components";
1010

1111
[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.
1212

@@ -56,8 +56,11 @@ npx wrangler secrets-store secret create <STORE_ID> --name MY_SECRET_NAME --scop
5656

5757
</TabItem> <TabItem label="Dashboard">
5858

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**.
6164
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.
6265
4. (Optional) Select **Add additional secret** to create more than one secret at a time.
6366
5. Select **Save** to confirm.
@@ -120,8 +123,11 @@ secrets_store_secrets = [
120123

121124
### Via Dashboard
122125

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.
125131
3. Go to **Settings** > **Bindings** and select **Add**.
126132
4. On the **Add a resource binding** side panel, choose **Secrets Store**.
127133
5. Fill in the required fields:

0 commit comments

Comments
 (0)