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
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,14 @@ This is different from Workers [Variables and Secrets](/workers/configuration/se
16
16
17
17
## Before you begin
18
18
19
-
If [using the Dashboard](#option-b-via-dashboard), make sure you already have a Workers application. Refer to [Get started](/workers/get-started/dashboard/) for guidance.
19
+
If [using the Dashboard](#via-dashboard), make sure you already have a Workers application. Refer to [Get started](/workers/get-started/dashboard/) for guidance.
20
20
21
21
## 1. Set up account secrets in Secrets Store
22
22
23
23
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.
24
24
25
25
:::note
26
-
You may also add account secrets directly from the Workers settings on the dashboard. You can skip to [step 2](#option-b-via-dashboard) to do that.
26
+
You may also add account secrets directly from the Workers settings on the dashboard. You can skip to [step 2](#via-dashboard) to do that.
27
27
:::
28
28
29
29
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
@@ -43,7 +43,7 @@ Refer to [manage account secrets](/secrets-store/manage-secrets/) for further op
43
43
- Secrets Store Admin
44
44
- Secrets Store Deploy
45
45
46
-
### Option A: via Wrangler
46
+
### Via Wrangler
47
47
48
48
(TBC)
49
49
1. Add a Secrets Store binding to your [Wrangler configuration file](/workers/wrangler/configuration/):
@@ -63,7 +63,7 @@ secrets_store_secret = [
63
63
</WranglerConfig>
64
64
65
65
66
-
### Option B: via Dashboard
66
+
### Via Dashboard
67
67
68
68
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account.
69
69
2. Go to **Workers & Pages** and select a Workers application.
@@ -79,7 +79,9 @@ secrets_store_secret = [
79
79
80
80
## 3. Access the secret on the `env` object
81
81
82
-
[Bindings](/workers/runtime-apis/bindings/) are located on the `env` object, which can be accessed in several ways. Two common examples are presented below. For further options, refer to the [Workers documentation](/workers/runtime-apis/bindings/#how-to-access-env).
82
+
(TBC)
83
+
84
+
[Bindings](/workers/runtime-apis/bindings/) are located on the `env` object, which can be accessed in several ways. Two examples are presented below. For further options, refer to the [Workers documentation](/workers/runtime-apis/bindings/#how-to-access-env).
0 commit comments