Skip to content

Commit eccaa15

Browse files
authored
update tunnel permissions (#18739)
1 parent 8e46d4f commit eccaa15

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

src/content/docs/cloudflare-one/connections/connect-networks/configure-tunnels/local-management/tunnel-permissions.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66

77
---
88

9+
import { Render } from "~/components";
10+
911
Tunnel permissions determine who can run and manage a Cloudflare Tunnel. Two files control permissions for a locally-managed tunnel:
1012

1113
* **An account certificate** (`cert.pem`) is issued for a Cloudflare account when you login to `cloudflared`. Make sure you are intentional about the locations and machines you store this certificate on, as this certificate allows users to create, delete, and manage all tunnels for the account.
@@ -26,8 +28,10 @@ Refer to the table below for a comparison between the two files and the purposes
2628
| **Valid for** | At least 10 years, and the service token it contains is valid until revoked | Does not expire |
2729
| **Needed to** | Manage tunnels (for example, create, route, delete and list tunnels) | Run a tunnel. Create a config file. |
2830

29-
30-
3131
## Tunnel ownership
3232

3333
Tunnel ownership is bound to the Cloudflare account for which the `cert.pem` file was issued upon authenticating `cloudflared`. If a user in a Cloudflare account creates a tunnel, any other user in the same account who has access to the `cert.pem` file for the account can delete, list, or otherwise manage tunnels within it.
34+
35+
## Account-scoped roles
36+
37+
<Render file="tunnel/account-scoped-roles" />

src/content/docs/cloudflare-one/connections/connect-networks/configure-tunnels/remote-management.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ sidebar:
55
order: 1
66
---
77

8-
import { TabItem, Tabs } from "~/components";
8+
import { TabItem, Tabs, Render } from "~/components";
99

1010
If you created a Cloudflare Tunnel [from the dashboard](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/), the tunnel runs as a service on your OS.
1111

@@ -310,4 +310,4 @@ The tunnel token is now fully rotated. The old token is no longer in use.
310310

311311
### Account-scoped roles
312312

313-
Account members with [Cloudflare Access](/cloudflare-one/roles-permissions/) and [DNS](/fundamentals/setup/manage-members/roles/) permissions will be able to create, delete, and configure all tunnels for the account.
313+
<Render file="tunnel/account-scoped-roles" />

src/content/docs/fundamentals/setup/manage-members/roles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Account-scoped roles apply across an entire Cloudflare account, and through all
2525
| Audit Logs Viewer | Can view [Audit Logs](/fundamentals/setup/account/account-security/review-audit-logs/). |
2626
| Bot Management (Account-wide) | Can edit [Bot Management](/bots/plans/bm-subscription/) (including [Super Bot Fight Mode](/bots/get-started/pro/)) configurations for all domains in account. |
2727
| Billing | Can edit the account’s [billing profile](/fundamentals/subscriptions-and-billing/create-billing-profile/) and subscriptions |
28-
| Cloudflare Access | Can edit [Cloudflare Access](/cloudflare-one/policies/access/) policies. |
28+
| Cloudflare Access | Can edit [Cloudflare Access](/cloudflare-one/policies/access/) and [Cloudflare Tunnel](/cloudflare-one/connections/connect-networks/). |
2929
| Cache Purge | Can purge the edge cache. |
3030
| Cloudflare DEX | Can edit [Cloudflare DEX](/cloudflare-one/insights/dex/). |
3131
| Cloudflare Gateway | Can edit [Cloudflare Gateway](/cloudflare-one/policies/gateway/) and read [Access](/cloudflare-one/identity/). |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
{}
3+
4+
---
5+
6+
Minimum permissions needed to create, delete, and configure tunnels for an account:
7+
- [Cloudflare Access](/cloudflare-one/roles-permissions/)
8+
9+
Additional permissions needed to [route traffic to a public hostname](/cloudflare-one/connections/connect-networks/routing-to-tunnel/):
10+
- [DNS](/fundamentals/setup/manage-members/roles/)

0 commit comments

Comments
 (0)