cloudflare_zt_create_app
Create a Zero Trust Access application to protect a domain with identity-based access control. Specify application name, domain, type, session duration, and allowed identity providers.
Instructions
Create a new Zero Trust Access application. Protects a domain with identity-based access control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Application name | |
| domain | Yes | Primary application domain (e.g., 'app.example.com' or 'app.example.com/path*') | |
| type | No | Application type (default: self_hosted) | |
| session_duration | No | Session duration (e.g., '8h', '24h', '30m'). Default: 24h | |
| allowed_idps | No | Array of IdP UUIDs to restrict login methods. Omit to allow all configured IdPs. | |
| auto_redirect_to_identity | No | Auto-redirect to IdP login instead of showing app launcher (default: false) | |
| app_launcher_visible | No | Show in the Zero Trust App Launcher (default: true) | |
| self_hosted_domains | No | Additional domains for this app (multi-domain). Primary domain is always included. |