How Keycloak OpenID Connect login works in Proxmox VE
Proxmox VE supports an OpenID Connect realm configured with an issuer URL, a client ID and an optional client key, and it can create users automatically at login. For a team that wants Proxmox VE sign-ins to come from its Keycloak realm, the setup is a Keycloak client registered for Proxmox VE plus an openid realm on the Proxmox side that points at the Keycloak issuer. Proxmox VE reads the issuer URL to find the provider's discovery document, then runs the login redirect against Keycloak and maps the returned identity to a Proxmox user. This page does not walk through a generic SSO tutorial. It covers the configuration choices that change who can sign in, which account name they get, and which groups they inherit.
Those choices sit in the realm settings. The username claim decides which token field becomes the Proxmox user name, and the Proxmox VE default is the subject. Teams that want readable names need to decide whether a different claim is stable enough to use, because a changed claim can create a second account for the same person. Group handling is the second decision: Proxmox VE can map groups from a groups claim, create missing groups, and overwrite a user's group memberships at each login. The Keycloak client needs a mapper that emits the groups claim in the tokens Proxmox VE receives, and the exact claim names and the realm options should be checked against the version of Proxmox VE you run, using the Proxmox VE user management documentation.
The design also has to keep a way back in. A local root login stays available through the local realm, and the sections that follow cover how to test the OpenID realm, how to keep that recovery path working, and what to review before users are moved to federated sign-in. Confirm the Keycloak version and client settings in your own environment before you change production clusters, and test the full login and group sync on a non-production node first.
What you need before adding the Keycloak realm
Adding Keycloak as an OpenID Connect realm touches three systems: the Keycloak server, a dedicated client in a Keycloak realm, and the Proxmox VE cluster that trusts it. Confirm each item below before you open the Proxmox VE realm settings, because a gap in any one of them usually shows up as a failed login rather than a clear error.
Supported Keycloak 26 release
Plan on a supported Keycloak 26 release, and confirm the exact version against the current release notes before you start, since the project publishes new minor releases several times a year. Proxmox VE discovers its endpoints from the issuer URL, so the Keycloak server must answer on a stable HTTPS hostname that the Proxmox VE nodes can reach. Test the discovery document from a Proxmox VE node, not only from your workstation, and check that the hostname resolves identically from both places. Keycloak's production guide expects TLS on all communication, so plan for that from the first test.
- Current Keycloak release
- 26.8.1
Proxmox VE on a current release line
Proxmox VE 9.0, 9.1 or 9.2 are the release lines to plan around, and the 9.2 release added a dynamic load balancer. Check the Proxmox VE version on every node in the cluster, because the realm configuration is shared across nodes and mixed versions complicate troubleshooting. Confirm the node version with your own inventory rather than assuming a uniform upgrade state.
Proxmox VE user managementProxmox VE 8 end of life
Proxmox VE 8 on Debian 12 reached end of life in August 2026. If any cluster still runs that line, treat the OIDC realm as a reason to plan an upgrade first, because you would be adding an identity dependency to a platform that no longer receives security updates. Ask your Proxmox VE support provider or check the FAQ for the support window that applies to your exact version before you schedule the change.
Proxmox VE FAQConfidential client in a dedicated realm
Create a confidential OpenID Connect client in a dedicated Keycloak realm, not in the master realm, so that Proxmox VE login rules stay separate from administrator accounts. Proxmox VE needs the client ID and, for a confidential client, the client secret. Add a groups mapper to the client so the token carries a groups claim, and verify the claim name matches what you enter in Proxmox VE. Keep the redirect URI exactly as the Proxmox VE documentation describes for your version.
Keycloak server admin guideTrusted certificates on both sides
Proxmox VE nodes must trust the certificate chain presented by the Keycloak issuer URL, because discovery and token exchange fail silently behind an untrusted certificate. Install the internal certificate authority on each node if your Keycloak uses one, and confirm the certificate name matches the issuer hostname. Check the Keycloak side as well: the reverse proxy in front of Keycloak must present a valid certificate, and internal clients must not rely on a self-signed chain they never imported.
Administrator access to pveum
You need root or an equivalent administrator session on a Proxmox VE node to run pveum realm add with the openid type, and a documented path for changing the realm later. Before the change, record the existing local root and administrator accounts and their password status, because the realm must not replace the local login you will use for recovery. Confirm who holds that access and where the root credentials are stored under your own controls.
Configure the Keycloak realm in Proxmox VE step by step
This sequence connects a Keycloak client and its groups claim to a Proxmox VE OpenID Connect realm, so that users can sign in through Keycloak and receive the correct Proxmox VE groups. Each step closes with a check you can run before moving on.
Create the Keycloak client and groups claim
A Keycloak administrator creates a client in the realm that Proxmox VE will trust, sets the valid redirect URI to the Proxmox VE web address, and enables a confidential client with a client secret. Then they add a mapper that places the user's group membership into a groups claim in the ID token. Create at least one test user and one test group so the claim has something to carry. Done means the client lists the Proxmox VE redirect URI, the client secret is stored securely, and the test user's group membership appears in the token when you inspect it in the Keycloak admin console client scopes or evaluate tool.
Confirm the issuer URL serves discovery metadata
Before touching Proxmox VE, the Proxmox VE administrator requests the issuer URL's OpenID Connect discovery document from a host that can reach it, using the standard well-known path under the Keycloak realm. The Proxmox VE realm uses this issuer URL to find the authorization, token and key endpoints, so a failure here blocks every later step. Check that the request returns a valid JSON document, that the issuer value in the document matches the URL you entered exactly, and that the Proxmox VE nodes can reach it over TLS with a certificate they trust. Done means discovery loads from every node that will serve logins.
Add the OpenID realm with pveum
On a Proxmox VE node with root shell access, the administrator runs pveum realm add with the --type openid option and supplies a realm name, the issuer URL, the client ID and the client secret created in the first step. Record the exact realm name, because it appears in the login screen and in user names. Keep the local root login working throughout, since the local realm is the recovery path if the new realm fails. Done means pveum realm list shows the new openid realm, and the realm's settings show the expected issuer URL and client ID.
Set the username claim
The administrator chooses which token claim becomes the Proxmox VE user name. The realm defaults to the subject claim, which is a stable but opaque identifier, so many teams select a human-readable claim such as the preferred username or email instead, after confirming that claim is present in the ID token and unique across users. Changing the claim later can create new Proxmox VE accounts and disconnect existing permissions, so decide before the first real login. Done means a test login produces a user name that matches the chosen claim and the expected Proxmox VE realm suffix.
Enable automatic user and group creation
The administrator turns on automatic user creation for the realm so that first-time sign-ins create the Proxmox VE account without a manual step. Then they enable group mapping from the groups claim, decide whether missing groups should be created automatically, and decide whether group membership should overwrite the user's existing groups at each login. Overwriting keeps Proxmox VE aligned with Keycloak but removes any groups an administrator added locally, so confirm this choice with the team that owns access decisions. Done means the realm settings show these options as intended and existing local permissions on Proxmox VE are reviewed against the planned group names.
Test a login in a second browser session
Keep the current administrator session open on the local root realm, then open a separate browser session or private window and sign in through the new Keycloak realm with a test user. A successful sign-in should redirect back to Proxmox VE and show the user on the Datacenter permissions page. Check that the account was created under the expected realm and user name, that the expected groups appear, and that the groups carry the permissions you planned. Done means the test user lands in Proxmox VE with the expected groups, and the root login still works in the first session.
Confirm the realm on the login screen
Open the Proxmox VE login page in a fresh browser session and confirm that the new realm appears in the realm selector with the name you chose in the pveum step. Confirm that the local root login is still offered and still works. Ask the team to note the recovery procedure, which is to sign in with the local realm and correct the realm settings from the shell. Done means the realm is selectable for end users, and a root login through the local realm succeeds in the same session test.
Choosing the username claim for Proxmox VE accounts
The username claim decides which value Proxmox VE uses to name the account it creates or matches at login. The Proxmox VE OpenID realm defaults this claim to the subject, which is the identifier Keycloak assigns to each user and keeps for the life of that user record. Proxmox VE then stores the account under the realm, so the name on the account and the permissions attached to it both depend on the value the claim returns. Before enabling the realm, confirm in the Proxmox VE user management documentation which claim options your version accepts, and test the mapping with one account in a non-production cluster.
- Account identity: The claim value becomes the account name Proxmox VE uses to match permissions, so it is the identity boundary for the realm.
- Default behavior: If you do not set a username claim, the subject is used, so a sign-in with an unchanged subject always maps to the same account.
- Realm scope: Accounts are created under the realm name, so the same readable value in two realms does not represent the same account.
- Permissions: ACL entries reference the full account name, so any change to the claim changes which permissions apply.
- Login audit: Logs and task history show the account name, so the claim choice also shapes how operators read activity records.
Check that the value you choose is present in the tokens your Keycloak client returns, because a missing claim leaves you without a stable account name.
For accounts that will exist for years, such as administrators, service operators and on-call engineers, the subject is the safer identifier. Keycloak assigns it once per user, so it does not change when a person marries, changes department or receives a new email address. This keeps the Proxmox VE account and its ACL entries attached to the same person over time, which matters for audit trails and for permissions granted months earlier. The trade-off is readability: the subject is an opaque string, so operators will need a lookup step when they review permissions or logs.
- Stable identifier: The subject survives name and email changes in the identity provider.
- Permission continuity: Existing ACL entries keep working when people change roles or names.
- Lower migration risk: No need to rename accounts when HR data changes.
- Operator lookup: Keep a documented mapping from subject to person, generated from Keycloak, for reviews.
- Recovery alignment: Pair the stable identifier with the local root login so a broken claim mapping does not lock out administrators.
Confirm with your identity team that the subject is not reused for another user and that deleted Keycloak users are handled by a documented process.
A preferred username or email claim makes Proxmox VE easier to operate. Permission lists, task logs and the user interface show names people recognize, which speeds up access reviews and incident work. This choice fits environments where the identity provider already enforces unique, lifecycle-managed usernames and where the team reviews accounts by name. It also fits smaller teams that do not maintain a separate lookup table. The cost is dependence on the claim value: if the username or email changes in Keycloak, the Proxmox VE account name changes with it unless you plan for that case.
- Faster reviews: Administrators can read ACL entries and logs without a lookup.
- Email as identifier: Email is familiar, but confirm that your Keycloak realm enforces unique addresses and that the address cannot be edited by users.
- Username as identifier: Usernames are often short and stable, but check the naming rules, since some organizations reuse names after leavers.
- Realm-wide uniqueness: Confirm that the chosen claim is unique across all users who can sign in to that realm.
- Change handling: Decide who approves renames and how existing permissions are moved.
Ask your identity team whether the claim is set by an administrator or by the user, because user-editable values create a permission risk.
Changing the username claim after users have signed in is the highest-risk step in this setup. Proxmox VE matches accounts by the name the realm produces, so a new claim can create a new account rather than match the old one. The new account starts with no permissions, while the old account keeps its ACL entries and may become orphaned. Users may then appear locked out, or an administrator may grant access to a duplicate account without noticing. Plan the change as a migration, not a setting edit, and record the expected mapping before you touch the realm.
- Duplicate accounts: A new claim value can produce a second account for the same person.
- Orphaned permissions: Old ACL entries remain attached to an account that may no longer sign in.
- Mapping list: Export current account names and build a table of old and new names before the change.
- Test realm: Rehearse the change in a non-production cluster with copied users and permissions.
- Communication: Tell operators which name to use after the change, and confirm the rollback path.
Before any change, confirm with your Proxmox VE administrator how permissions are recorded for each account so you can rebuild them if the mapping is wrong.
How groups claims map to Proxmox VE groups and permissions
The groups claim is the part of the Keycloak token that Proxmox VE reads to decide which Proxmox groups a user belongs to after login. You choose the claim name in the OpenID realm settings, so confirm the exact name your Keycloak client mapper emits and make sure the value is a list of group names that will read cleanly in Proxmox. The realm can also create groups that do not yet exist in Proxmox when they first appear in a token, and it can overwrite a user's group memberships at each login. Turning on overwrite makes Keycloak the source of truth for group membership: a user removed from a Keycloak group loses the matching Proxmox group at their next sign-in, and groups added to Proxmox by hand for that user are dropped. Decide before go-live whether you want that behavior, and test it with a user you can safely move between groups.
Group membership does not grant anything by itself. Permissions in Proxmox VE are assigned through ACLs, which bind a role to a user or group on a path such as a node, a VM pool or the root of the datacenter. This means each Keycloak group you mirror needs a named owner in your access model, a defined set of roles and paths it receives, and a review step when someone asks for a new group. Keep group names stable and descriptive, because renaming a group in Keycloak creates a new Proxmox group at the next login and leaves the old ACLs attached to the previous name. Confirm with the Proxmox VE user management documentation how the realm treats groups that exist in Proxmox but are absent from the token before you rely on overwrite behavior in production.
Illustrative example: a Keycloak group named pve-ops maps to a Proxmox group of the same name, and an ACL grants that group the PVEVMAdmin role on a VM pool. A Keycloak group pve-auditors receives PVEAuditor on the datacenter root. When an engineer moves from the operations group to the auditor group in Keycloak, their next login replaces the old group, so their VM rights disappear and their read-only access starts. Test that exact sequence in a non-production cluster and record the result, because it is the change most likely to surprise the people who manage access.
Keycloak claims and Proxmox VE realm settings
This table maps each Keycloak element you configure to the Proxmox VE OpenID realm setting it feeds, and names what to confirm in your own environment. Read it alongside your Keycloak client definition so the issuer, claim names and group paths match exactly on both sides. The main takeaway is that the username and group behavior depends on claim values you verify in Keycloak before you enable automatic creation.
| Keycloak element | Proxmox VE realm setting | What the administrator must confirm |
|---|---|---|
| Realm issuer URL | Issuer URL used for discovery | The URL resolves over HTTPS from every Proxmox VE node and its discovery document lists the expected issuer value |
| Client ID and client secret | Client ID and optional client key | The Keycloak client is confidential if a key is used, and the key is stored securely on the Proxmox VE side |
| Subject claim (sub) | Username claim, default option | Whether sub values are stable and readable enough for operators, since the default maps the username to this value |
| Email, preferred_username or custom claim | Alternative username claim | That the chosen claim is present in the ID token, is unique across users and is mapped by a Keycloak protocol mapper |
| Groups claim | Group mapping from the groups claim | The claim name, whether values are short group names or full paths, and that group names are valid for Proxmox VE |
| Group creation option | Create missing groups at login | Whether Proxmox VE should create groups automatically or whether they must already exist in the datacenter configuration |
| Group overwrite option | Overwrite a user's groups at login | That Keycloak is the single source of group membership, since overwriting will remove groups assigned locally |
| Automatic user creation | Create users on first login | That the mapped roles or permissions for new users are reviewed, and that a local root login remains available for recovery |
Securing the Proxmox VE OpenID login
Once Proxmox VE delegates sign-in to Keycloak, the identity provider becomes the front door to every hypervisor in the cluster. The cards below cover the recovery path, transport security, secret handling and the administrative control points that together decide whether that trust holds.
Keep a local recovery login
Keep the local root account and at least one break-glass account outside the Keycloak realm, with passwords stored in your sealed credential process. If the issuer, DNS or the Keycloak realm is unavailable, or a bad mapper locks out every administrator, these accounts are the only way back into the Proxmox VE web interface and API. Test that the local login works before you enable the OpenID realm for production users.
Encrypt every hop
Serve the Keycloak issuer over TLS, and serve the Proxmox VE web interface over HTTPS with a certificate your users trust. Keycloak's production guide calls for TLS on all communication, and that applies to the identity side of this integration: the discovery document, token endpoint and JWKS must all be reachable over HTTPS. Confirm that the certificate chain presented to Proxmox VE validates from every cluster node.
Keycloak production guideProtect the client secret
The OpenID realm uses a client ID and an optional client key. Store the client secret in a restricted secret store, not in shared runbooks or chat, and limit which administrators can read or replace it on the Proxmox VE side. Rotate the secret in Keycloak and update the realm in the same change window, and record who approved the rotation.
Limit who can change realm settings
Anyone who can edit the Proxmox VE realm can change the issuer, the username claim or the group mapping, which changes who gets administrator rights at the next login. Restrict the Realm and User permission paths to a small set of administrators, and review audit records after each change. Ask your team to confirm which role may run pveum realm commands on each node.
Separate the Keycloak admin path
Keycloak's production guide recommends exposing the admin console and Administration REST API on a different hostname or context path from public frontend URLs. Apply that to the realm that signs in to Proxmox VE, so that changes to the pve client, its mappers and group membership are made only from administrative networks. Limit which Keycloak administrators can edit client scopes and mappers, since those control the claims Proxmox VE trusts.
Review admin group membership
Proxmox VE can create missing groups and overwrite a user's groups at login, so a Keycloak group named for administrators grants Proxmox VE rights automatically. Review who belongs to that group on a fixed schedule, and remove stale accounts when people leave or change roles. Test with a non-admin account that the groups claim carries only the groups you intend to map.
How a Proxmox VE login flows through Keycloak
The sign-in starts in the browser when a user picks the Keycloak realm on the Proxmox VE login page. Proxmox VE redirects the user to Keycloak, where the user authenticates, and Keycloak returns an authorization code to the Proxmox VE callback. Proxmox VE then exchanges that code for tokens, reads the username claim and the groups claim, and creates or updates the local user and groups in the cluster. The trust boundary sits between the Keycloak realm and the Proxmox VE cluster, so check the issuer, client settings and group mapping on both sides.
Login path from the Proxmox VE realm through Keycloak and back, with the trust boundary marked.
Keeping a local root login for recovery
The local root account must stay usable when Keycloak, DNS or the certificate chain fails, because the OpenID Connect realm is only one way into the Proxmox VE web interface and API. If the identity provider is unreachable, the realm login button fails and every SSO user is locked out at the same moment. Before enabling the realm, confirm that a local account with the Administrator role on the root path can sign in through the Proxmox VE login page with the Linux PAM standard authentication realm, and that its password is set, known to two named people, and tested against the actual nodes you manage. Keep the realm configuration in place but test sign-in from a separate browser session so the current administrative session is not the only working path.
Plan the failure cases you expect to hit. A certificate that the Proxmox VE hosts do not trust, a DNS change that breaks the issuer hostname, or a Keycloak upgrade that alters the client configuration can each block realm login without affecting local accounts. Ask your team to rehearse one of these failures on a test cluster, confirm that the local login still works, and record the exact steps used. Store the root credential in your organization's approved secrets vault or sealed-envelope process with access logged and restricted to named administrators, and make sure the storage location is documented so someone outside the platform team can find it during an incident. Review the account's access on a fixed schedule, since a recovery path that nobody has used for a year is often broken in ways nobody notices until it is needed.
The realm is only one login path, and the recovery plan has to cover the whole cluster, not the login page. Restoring a node, rejoining a cluster, recovering quorum, or handling high availability fencing are operational procedures that belong in your Proxmox VE operations plan, with their own owners, backup checks and runbooks. Confirm with your Proxmox VE documentation and your own environment which steps need root shell access on each node, and make sure the SSH access and console access that those steps depend on are not also tied to Keycloak. The OpenID Connect setup guidance in the Proxmox VE user management wiki describes the realm settings, but the recovery design is your team's responsibility.
Why Proxmox VE OpenID logins fail and how to fix them
This table lists the failures most often seen when Keycloak is added as an OpenID Connect realm in Proxmox VE, with the likely cause and a check you can run for each. Work down the rows in order, because an issuer or redirect problem blocks every later step. The main takeaway is that most failed logins trace back to one of five settings, and each one can be confirmed before you change anything.
| Symptom | Likely cause | Check and fix |
|---|---|---|
| Realm save or login fails with a discovery error | The issuer URL does not match the Keycloak realm, or Proxmox VE cannot fetch the discovery document from the server | Open the realm's issuer URL in a browser or with curl from the Proxmox node and confirm the OpenID configuration loads. Match the URL exactly, including the realm name and any trailing path. Fix the URL, or install the internal certificate authority on each Proxmox node if the certificate is untrusted |
| Certificate trust error at the identity provider step | Keycloak sits behind an internal certificate authority that the Proxmox nodes do not trust | Verify the chain from a Proxmox node with the same hostname used in the issuer URL. Add the root or intermediate certificate to the node trust store, then retry. Confirm the fix on every cluster node, not only the one you configured from |
| Redirect error or invalid client after the Keycloak sign-in page | The Keycloak client's valid redirect URI does not match the Proxmox VE login callback, or the client ID in the realm differs from the Keycloak client | Compare the client ID in the Proxmox realm with the Keycloak client, then check that the valid redirect URIs include the exact Proxmox VE web address you use to sign in. Confirm the client is set to confidential if you configured a client key |
| Users are created with unexpected names, or a second account appears | The username claim changed, for example from the subject to a preferred username, so an existing local or previously created account no longer matches | Before changing the claim, list existing Proxmox users and note which ones came from this realm. Choose one claim and keep it. If a collision exists, rename or remove the duplicate account after confirming its permissions and owned resources |
| Users sign in but groups are missing in Proxmox VE | The groups claim mapper was not added to the Keycloak client, or the token does not include the groups claim the realm expects | Sign in with a test user and inspect the ID token or userinfo response for a groups claim. If it is absent, add a group membership mapper to the client with the claim name the realm uses. Then confirm that the realm is set to create missing groups |
| Users sign in with no permissions | Users are created but have no ACL entries, or group names do not match any permission assignments in Proxmox VE | Check the user's groups in Proxmox VE against the group names in the Keycloak token, including letter case and full path. Assign roles on the datacenter, pool or VM path to the groups, then sign in again with a fresh session |
| Permissions change after a group edit in Keycloak | The realm is set to overwrite groups at login, so Proxmox VE replaces group membership with what the token says on each sign-in | Review the overwrite setting before relying on manual group membership in Proxmox VE. Confirm the group mapping in a test account and record which group-to-role assignments depend on Keycloak |
| Locked out after the realm change | The realm was set as the only login method, and no local administrator is available for recovery | Keep the local root login enabled and test it before you make the realm the default. Store its credentials under your normal break-glass process, and confirm you can sign in with it from the console or management network |
Questions buyers ask before configuring Keycloak login for Proxmox VE
Does Keycloak login change what Proxmox VE costs to run?
No. Adding an OpenID Connect realm does not change the Proxmox VE software, and the software itself can be used without a subscription. Proxmox VE subscriptions are priced per CPU socket per year: the pricing page lists Community at 120 euros, Basic at 370 euros, Standard at 550 euros and Premium at 1,100 euros. All tiers include the same software features and differ in support entitlements and access to the enterprise repository. Keycloak is open source under Apache 2.0, so its license adds no fee. Your costs are the infrastructure to host Keycloak, the labor to configure and test it, and any Keycloak support you choose to buy. Ask any partner for a quote that lists each of these separately.
Does a Proxmox VE subscription tier change which SSO features I get?
No. According to the Proxmox VE pricing page, every subscription tier includes the same software features, so OpenID Connect realm support is the same at every level. The tiers differ in how many support tickets you can open, how quickly responses arrive, and whether you can use the enterprise repository, which Proxmox describes as the recommended repository for production. Choose the tier based on the support and repository access your operations team needs, and confirm the current terms with Proxmox before you buy, since prices and entitlements can change.
How long does it take to set up Keycloak login for Proxmox VE?
The duration depends on how much of the identity design is already settled. The Proxmox side is a single realm definition, but the time goes into the Keycloak client, the groups claim, the mapping from Keycloak groups to Proxmox permissions, and testing each path. Teams with a working Keycloak realm and clear group ownership move faster than teams that still need to decide who gets which role. No duration figure is given here because none has been researched for this work. Ask for a timeline in the written scope, tied to the number of clusters and the test cases agreed up front.
What does the work need from our team?
You need people who own four decisions: the Keycloak realm and client, the group structure that maps to Proxmox roles, the username claim that Proxmox will store, and the recovery plan. You also need access to the Proxmox cluster with rights to run pveum realm add --type openid, and someone who can change Keycloak client settings. Plan for a security or identity owner to approve the group model and an operations owner to run the break-glass test. Confirm these named roles early, because most delays come from waiting on a decision rather than from configuration.
Can our own team configure Keycloak login for Proxmox VE without a partner?
Yes, if your team already runs Keycloak and Proxmox VE and has someone comfortable with OpenID Connect. The Proxmox documentation covers the realm settings, including the issuer URL used for discovery, client ID, optional client key, the username claim, and automatic user and group creation. The risk sits in the details: a wrong username claim can split one person into two accounts, and an overly broad group mapping can grant administrator rights. A partner is useful when you want an independent review of the design, a written test plan, or help running the lockout test. Compare the cost of that review with the cost of a mistake in access control.
Which parts of the effort grow with the number of Proxmox clusters?
Each cluster needs its own realm configuration, and every realm needs its own check of the group mapping, the redirect settings and the recovery path. The Keycloak client design can often be shared, but you still test each cluster's login and permission results. Effort also rises with the number of distinct identity designs, such as separate group sets for administrators, operators and auditors, and with the depth of testing. Ask a partner to price clusters separately in the quote so you can see how the work scales.
What should we test before we rely on Keycloak login for Proxmox VE?
Test the login path, the account result and the recovery path. Confirm that a user signs in through Keycloak and lands in the expected Proxmox realm, that the username matches the claim you chose and does not create a duplicate account, that group membership produces the permissions you designed, and that a user removed from a group loses access at the next login if you set groups to overwrite. Then test the local root login with the realm login disabled, so you know recovery works before an incident. Keep the results as evidence for your security and compliance reviews.
Which sources to confirm for your Proxmox VE version
Confirm the exact realm settings against the documentation for the Proxmox VE release you run before you change anything. The Proxmox VE user management documentation in the Proxmox VE wiki: User Management page is the primary reference for the OpenID realm, including the issuer URL, client ID, optional client key, username claim, groups claim, group creation and group overwrite behavior. Read the section that matches your installed version, not a copy from a blog or a forum thread, because option names and defaults can change between releases. Check the Proxmox VE version on each node first, since the realm form in the web interface and the pveum realm add --type openid options should match what that release documents.
On the Keycloak side, use the Keycloak server administration guide as the source for the client settings the realm depends on: the confidential client, valid redirect URIs, the client secret, and the protocol mapper that places group membership into the token. Confirm the mapper name, token claim name and whether the groups claim is a full path or a short name against the Keycloak release you run, since the administration guide is versioned and the console labels move between releases. Record the Keycloak version and the Proxmox VE version together in your change record, because the combination is what you will test and what an auditor or colleague will ask about later. Where the two documents disagree on a detail, test the behavior in a non-production cluster before you rely on it, and ask your integration partner or the Proxmox support channel for the supported answer.
How DeployOpen works on this
DeployOpen plans, builds, tests and documents Keycloak OpenID Connect login for Proxmox VE inside your own infrastructure, so your identity and security teams can review each setting before it reaches production. The work follows a written scope, with the Keycloak realm, the Proxmox VE realm and the local recovery path agreed up front.
How we scope
- Confirm the Keycloak release, realm layout and hostnames your team already runs, and where Proxmox VE nodes sit.
- Agree in writing which username claim, groups claim and group mapping rules the Proxmox VE realm will use.
- Define the local root recovery procedure, who holds it and how it is tested before go-live.
- Engagements are fixed-scope, with deliverables and timelines agreed before any work starts.
How we build
- Create the Keycloak client for Proxmox VE and configure the groups mapper so group membership appears in tokens.
- Add the OpenID realm with the issuer URL for discovery, the client ID and the client key, using pveum or the web interface.
- Test username claim choices with sample accounts, checking that automatic user and group creation behaves as the scope states.
- Document each setting, the redirect URI and the reasons behind claim and group decisions for your reviewers.
How we hand over
- Deliver the configuration record, realm settings, client definition and test results in a handover document your team can audit.
- Walk your administrators through login, group sync, failed-login handling and the local root recovery path.
- Provide a rollback procedure that restores local authentication if the external realm becomes unavailable.
- Confirm that your team can repeat the setup on another Proxmox VE cluster without DeployOpen involvement.
How we support
- Offer ongoing support, upgrades and continuous testing as retainers after handover, scoped in writing.
- Review changes to Keycloak and Proxmox VE releases against the deployed realm before your team applies them.
- Retest login, group mapping and recovery access after Keycloak or Proxmox VE upgrades that touch authentication.
- Ask for a quote based on the written scope, which sets the cost of each deliverable and any retainer.

