You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/secrets-store/integrations/workers.mdx
+19-5Lines changed: 19 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ This is different from Workers [Variables and Secrets](/workers/configuration/se
14
14
15
15
## Before you begin
16
16
17
-
If using the Dashboard, make sure you already have a Workers application. Refer to [Get started](/workers/get-started/dashboard/) for guidance.
17
+
If [using the Dashboard](#option-b-use-the-dashboard), make sure you already have a Workers application. Refer to [Get started](/workers/get-started/dashboard/) for guidance.
18
18
19
-
###Set up account secrets in Secrets Store
19
+
##1. Set up account secrets in Secrets Store
20
20
21
-
If there are no account secrets yet, follow the steps below. You must have a (TBC)[Super Administrator or a Secrets Store Admin role](/secrets-store/access-control/) within your Cloudflare account.
21
+
If there are no account secrets yet, follow the steps below. You must have a (TBC)[Super Administrator or a Secrets Store Admin role](/secrets-store/access-control/) within your Cloudflare account.
22
22
23
23
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
24
24
2. Go to **Secrets Store** and select **Create secret**.
@@ -31,8 +31,22 @@ Once the secret is saved, the secret value will no longer be available for viewi
31
31
32
32
Refer to [manage account secrets](/secrets-store/manage-secrets/) for further options.
33
33
34
-
## Bind an account secret to your worker
34
+
## 2. Bind an account secret to your worker
35
+
36
+
(TBC) You must have one of the following [roles within your Cloudflare account](/secrets-store/access-control/):
37
+
- Super Administrator
38
+
- Secrets Store Admin
39
+
- Secrets Store Deploy
35
40
36
41
### Option A: use the CLI
37
42
38
-
### Option B: use the Dashboard
43
+
### Option B: use the Dashboard
44
+
45
+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
46
+
2. Go to **Workers & Pages** and select the Workers application where you want ro use account secrets.
47
+
3. Got to **Settings** > **Bindings** and select **Add**.
48
+
4. On the **Add a resource binding** side panel, choose **Secrets Store**.
49
+
5. Select the **Secret name** from the list of available account secrets (created in [step 1](#1-set-up-account-secrets-in-secrets-store)).
0 commit comments