pve_realm_create
Create an authentication realm for Proxmox VE supporting PAM, PVE, LDAP, AD, or OpenID types. Dry-run shows planned changes; confirm applies them.
Instructions
MUTATION: create an auth realm. Dry-run by default; confirm=True executes and returns a
dict, synchronous with no UPID. options carries the type-specific fields PVE requires (ldap:
server1/base_dn/user_attr; ad: domain/server1; openid: issuer-url/client-id) — passed verbatim;
PVE validates them. Use pve_realms_list to see configured realms first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| realm | Yes | New realm id/name. | |
| comment | No | Optional free-text comment. | |
| confirm | No | False (default) returns a dry-run PLAN preview; True executes the mutation. | |
| options | No | Type-specific config fields passed verbatim to PVE (e.g. ldap: server1/base_dn/user_attr; ad: domain/server1; openid: issuer-url/client-id). | |
| realm_type | Yes | Realm type: 'pam', 'pve', 'ldap', 'ad', or 'openid'. | |
| proximo_target | No | Which configured Proxmox target to run this call against — a target name from your multi-target config (a specific PVE/PBS/PMG/PDM box). Omit to use the single/default target from the environment; the selection applies only to this call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |