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
+6-4Lines changed: 6 additions & 4 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
You should also have a store created under the Secrets Store tab on the Dashboard. The default store in your account is automatically created when a user with [Super Administrator or Secrets Store Admin role](/secrets-store/access-control/) interacts with it.
24
24
25
-
You can also use the [Wrangler command](/workers/wrangler/commands/#secrets-store-store)`secrets-store store create <name>` to create your default store.
25
+
You can also use the [Wrangler command](/workers/wrangler/commands/#secrets-store-store)`secrets-store store create <name>` to create your default store.
26
26
27
27
## 1. Set up account secrets in Secrets Store
28
28
@@ -155,15 +155,17 @@ export default {
155
155
exportdefault {
156
156
asyncfetch(request, env) {
157
157
// Example of using the secret safely in an API request
158
-
let response =awaitfetch("https://api.example.com/data", {
0 commit comments