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
-**SSH user**: Enter the UNIX usernames that users can log in as (for example, `root` or `ec2-user`).
25
27
-**Allow users to log in as their email alias**: (Optional) When selected, users who match your policy definition will be able to access the target using their lowercased email address prefix. For example, `[email protected]` could log in as `jdoe`.
26
28
27
-
:::note
28
-
Cloudflare will not create new users on the target. UNIX users must already be present on the server.
29
-
:::
30
-
29
+
:::note
30
+
Cloudflare will not create new users on the target. UNIX users must already be present on the server.
31
+
:::
31
32
4. Select **Add application**.
32
-
33
-
</TabItem>
33
+
</TabItem>
34
34
<TabItemlabel="API">
35
35
36
36
1.[Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
37
-
| Type| Item | Permission |
38
-
| ------- | ---------------- | ---------- |
39
-
| Account | Access: Apps & Policies | Edit |
40
-
41
-
1. Make a `POST` request to the [Access applications](/api/resources/zero_trust/subresources/access/subresources/applications/methods/create/) endpoint:
2. Make a `POST` request to the [Access applications](/api/resources/zero_trust/subresources/access/subresources/applications/methods/create/) endpoint:
The following example requires Cloudflare provider version `>=4.45.0`.
90
90
:::
91
91
92
-
1. Add the following permission to your [`cloudflare_api_token`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/api_token):
93
-
94
-
-`Access: Apps and Policies Write`
95
-
96
-
2. Use the [`cloudflare_zero_trust_access_application`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/zero_trust_access_application) resource to create an infrastructure application:
3. Use the [`cloudflare_zero_trust_access_policy`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/zero_trust_access_policy) resource to add an infrastructure policy to the application:
1. Add the following permission to your [`cloudflare_api_token`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/api_token):
93
+
-`Access: Apps and Policies Write`
94
+
95
+
2. Use the [`cloudflare_zero_trust_access_application`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/zero_trust_access_application) resource to create an infrastructure application:
3. Use the [`cloudflare_zero_trust_access_policy`](https://registry.terraform.io/providers/cloudflare/cloudflare/4.45.0/docs/resources/zero_trust_access_policy) resource to add an infrastructure policy to the application:
0 commit comments