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
+2-5Lines changed: 2 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ If [using the Dashboard](#via-dashboard), make sure you already have a Workers a
22
22
23
23
## 1. Set up account secrets in Secrets Store
24
24
25
-
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.
25
+
If there are no account secrets yet, follow the steps below. You must have a [Super Administrator or a Secrets Store Admin role](/secrets-store/access-control/) within your Cloudflare account.
26
26
27
27
:::note
28
28
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.
@@ -40,14 +40,13 @@ Refer to [manage account secrets](/secrets-store/manage-secrets/) for further op
40
40
41
41
[Bindings](/workers/runtime-apis/bindings/) allow your Worker to interact with resources on your Cloudflare account.
42
42
43
-
(TBC) To bind an account secret to your Worker, you must have one of the following [roles within your Cloudflare account](/secrets-store/access-control/):
43
+
To bind an account secret to your Worker, you must have one of the following [roles within your Cloudflare account](/secrets-store/access-control/):
44
44
- Super Administrator
45
45
- Secrets Store Admin
46
46
- Secrets Store Deployer
47
47
48
48
### Via Wrangler
49
49
50
-
(TBC)
51
50
1. Add a Secrets Store binding to your [Wrangler configuration file](/workers/wrangler/configuration/):
52
51
-`binding`: a descriptive name for your binding. This will be used in the Workers application when [accessing your secret on the `env` object](/secrets-store/integrations/workers/#3-access-the-secret-on-the-env-object).
53
52
-`store_id`: the corresponding Secrets Store ID where your account secret was created.
@@ -81,8 +80,6 @@ secrets_store_secret = [
81
80
82
81
## 3. Access the secret on the `env` object
83
82
84
-
(TBC)
85
-
86
83
[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