Skip to content

Commit 829c790

Browse files
committed
Add detail about environment variables and hero image
1 parent 6b94fa0 commit 829c790

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
452 KB
Loading

src/content/changelog/workers/2025-10-03-one-click-access-for-workers.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import { DashButton } from "~/components";
1010

1111
You can now enable [Cloudflare Access](/cloudflare-one/policies/access/) for your [`workers.dev`](/workers/configuration/routing/workers-dev/) and [Preview URLs](/workers/configuration/previews/) in a single click.
1212

13+
![Screenshot of the Enable/Disable Cloudflare Access button on the workers.dev route settings page](~/assets/workers/changelog/workers-access.png)
14+
1315
Access allows you to limit access to your Workers to specific users or groups. You can limit access to yourself, your teammates, your organization, or anyone else you specify in your [Access policy](/cloudflare-one/policies/access).
1416

1517
To enable Cloudflare Access:
@@ -69,3 +71,14 @@ export default {
6971
},
7072
};
7173
```
74+
75+
#### Required environment variables
76+
77+
Add these [environment variables](/workers/configuration/environment-variables/) to your Worker:
78+
79+
- `POLICY_AUD`: Your application's AUD tag
80+
- `TEAM_DOMAIN`: `https://<your-team-name>.cloudflareaccess.com`
81+
82+
Both of these appear in the modal that appears when you enable Cloudflare Access.
83+
84+
You can set these variables by adding them to your Worker's [Wrangler configuration file](/workers/wrangler/configuration/), or via the Cloudflare dashboard under **Workers & Pages** > **your-worker** > **Settings** > **Environment Variables**.

0 commit comments

Comments
 (0)