Skip to content

Commit 6185ad1

Browse files
Further adjustments
1 parent a3f4bf4 commit 6185ad1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can also use the [Wrangler command](/workers/wrangler/commands/#secrets-stor
2626

2727
## 1. Set up account secrets in Secrets Store
2828

29-
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.
29+
If there are no secrets in the store 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.
3030

3131
:::note
3232
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.
@@ -93,7 +93,6 @@ Refer to [manage account secrets](/secrets-store/manage-secrets/) for further op
9393

9494
To bind an account secret to your Worker, you must have one of the following [roles within your Cloudflare account](/secrets-store/access-control/):
9595
- Super Administrator
96-
- Secrets Store Admin
9796
- Secrets Store Deployer
9897

9998
### Via Wrangler
@@ -108,7 +107,7 @@ To bind an account secret to your Worker, you must have one of the following [ro
108107
```toml
109108
main = "./src/index.js"
110109
secrets_store_secrets = [
111-
{ binding = "MY_SECRETS_STORE_SECRET", store_id= '<STORE_ID>', secret_name = "<MY_SECRET_NAME>" }
110+
{ binding = "MY_SECRETS_STORE_SECRET", store_id= "<STORE_ID>", secret_name = "<MY_SECRET_NAME>" }
112111
]
113112
```
114113

@@ -134,7 +133,7 @@ secrets_store_secrets = [
134133
[Bindings](/workers/runtime-apis/bindings/) are located on the `env` object. To access the secret you first need an asynchronous call.
135134

136135

137-
### Pass `env` as an argument to `fetch`
136+
### Call `get()` on the binding name/variable
138137

139138
```js
140139
export default {

0 commit comments

Comments
 (0)