Which identity and SSO platforms run in air-gapped networks
Can your identity platform install, log users in and take updates with no route to the public internet? Keycloak, authentik and Zitadel are all self-hosted and each has a documented path into a restricted network, but the gaps differ. Keycloak's container guide runs the build step at image build time, with custom providers added beforehand, so the optimized image is assembled on a connected system and carried across. We found no dedicated air-gapped installation guide on keycloak.org, so ask how offline installs and updates work. Keycloak fits when you need OIDC, SAML 2.0 and LDAP or Active Directory federation and can own the offline image build. Zitadel's help center says it can run in isolated networks, but Service Ping is on by default, so set ZITADEL_SERVICEPING_ENABLED to false. Zitadel fits when many customer organizations manage their own users in one instance.
authentik publishes the most specific offline checklist of the three. Its air-gapped documentation says to set AUTHENTIK_DISABLE_UPDATE_CHECK and AUTHENTIK_DISABLE_STARTUP_ANALYTICS to true and AUTHENTIK_ERROR_REPORTING__ENABLED to false, which stops calls to its update, analytics and error-reporting endpoints. Those variables do not cover Gravatar avatar lookups, so set Avatars to initials in System settings after installation. Managed Docker outposts pull images from a registry the Docker host can reach, so that registry must be internal. Enterprise license checks run locally, but the enterprise code needs a paid subscription for production, and features such as Microsoft Entra ID integration sit in that tier. authentik fits when you want a documented offline configuration and can accept a subscription for enterprise features.
midPoint is an identity management system that provisions accounts into access management systems. Evolveum states it is neither an authentication server nor an SSO server, so it cannot be the login layer. Pair it with Keycloak or another login provider when provisioning and governance are the problem, and use the identity governance comparison to decide. FreeIPA is a directory and Kerberos stack that combines 389 Directory Server, an MIT Kerberos KDC and a Dogtag certificate authority, so it belongs in the directory comparison. FreeIPA fits when Linux hosts need a directory, Kerberos and certificates inside the restricted network.
What each platform documents for a restricted network
This table lists what each platform documents for running in a restricted network, and what still depends on an outside connection or a vendor. Read the middle column as documented fact and the right column as the work to confirm before procurement. Keycloak has no dedicated air-gapped guide, so isolation must be confirmed with the vendor, while authentik and Zitadel name specific settings to turn off.
| Option | Fits the constraint as documented | What still needs a connection or vendor service |
|---|---|---|
| Keycloak | No dedicated air-gapped guide found on keycloak.org; the container guide shows a build step run at image build time. | Confirm isolation with the vendor. Image sources, custom provider files and any external brokers must come from inside the network. |
| authentik | Air-gapped guide sets AUTHENTIK_DISABLE_UPDATE_CHECK, AUTHENTIK_DISABLE_STARTUP_ANALYTICS and AUTHENTIK_ERROR_REPORTING__ENABLED to stop outbound calls. | Gravatar lookups continue until Avatars is set to initials in System settings after installation. |
| authentik outposts and Enterprise | Local license validation needs no internet; managed Docker outposts pull from a registry the host can reach. | Enterprise features need a paid subscription; the outpost registry must be internal, so confirm the mirror with authentik. |
| Zitadel | Help center says self-hosted Zitadel can run in fully isolated networks with no public internet connection. | Set ZITADEL_SERVICEPING_ENABLED to false, since Service Ping is on by default. |
| midPoint | Licensed under EUPL-1.2 with no enterprise edition; confirm offline install steps with Evolveum. | Connectors to target systems, and any login server such as Keycloak, must run inside the same network. |
What an air-gapped identity platform has to do without
An identity platform in an isolated network cannot assume it can reach a public registry, package index or vendor endpoint at runtime or during an upgrade. Container images, database drivers, operator bundles, plugins and license files all have to be copied in through an internal registry and an approved update process with a named owner. Keycloak's container guide shows the consequence: custom providers go into /opt/keycloak/providers before the build step runs, and build-time options such as the database vendor are persisted into the optimized image. Changing the database or adding a provider is therefore an image rebuild, so it belongs in your change process. Put that rebuild on your change calendar before you pick a database.
The second dependency is quieter: software that phones home. authentik's air-gapped guidance sets AUTHENTIK_DISABLE_UPDATE_CHECK to true, AUTHENTIK_DISABLE_STARTUP_ANALYTICS to true and AUTHENTIK_ERROR_REPORTING__ENABLED to false, which stops calls to its update, analytics and error-reporting endpoints. Those variables do not cover Gravatar avatar lookups, so an administrator must set Avatars to initials in System settings after installation. Zitadel's Service Ping is on by default and reports the system ID, running version and instance details such as ID, creation date and domains, so set ZITADEL_SERVICEPING_ENABLED to false to opt out. Zitadel's help center says self-hosted deployments can run in completely isolated networks. Keycloak's public documentation has no dedicated air-gapped installation guide, so request the offline install and upgrade steps in writing and prove them with egress blocked before you commit.
Identity platforms also reach into directories and external identity providers, and each link must stay inside your network or be a documented exception. Keycloak federates users from LDAP or Active Directory and brokers logins to external OpenID Connect or SAML identity providers, so each endpoint needs a firewall rule, a certificate chain and a named owner. authentik's Google Workspace and Microsoft Entra ID integrations are Enterprise features that depend on external cloud services, so treat them as exceptions to approve or leave out. If your directory is Windows, FreeIPA's Active Directory trust guide covers a cross-forest trust that lets AD users reach Linux resources. Before approval, export every connection the platform opens, from directory sync to login brokering, and check each one against your signed exception list.
Keycloak, authentik, Zitadel and midPoint: license and fit
These four options cover different parts of identity. Keycloak, authentik and Zitadel can each act as the login provider for applications, while midPoint manages accounts and governance behind it. Licenses differ in ways that matter offline: one core is MIT, one enterprise directory is non-OSI, and one is AGPL with a commercial option. Check each license before you plan the network build.
Keycloak under Apache-2.0
Keycloak is licensed under Apache-2.0, and its container guide has you run the build step while building the image, so the runtime container starts without a build. The Operator installs through Operator Lifecycle Manager, which Keycloak recommends, or with kubectl. Production needs a relational database such as PostgreSQL 14 to 18, and the dev-file database is not suitable. keycloak.org has no dedicated air-gapped guide, so test the offline image and Operator steps before you commit.
Operator installation guideauthentik: MIT core, non-OSI enterprise
The core is MIT licensed, but code under authentik/enterprise uses the non-OSI authentik Enterprise Edition license and needs a paid subscription for production use. Enterprise-only features include Google Workspace and Microsoft Entra ID integrations and mTLS client certificate authentication, so confirm whether you need them. authentik publishes an air-gapped page that sets variables to stop update checks, startup analytics and error reporting, but it does not cover Gravatar avatar lookups, which you must switch off by setting avatars to initials after install. Enterprise license validation runs locally.
Zitadel under AGPL-3.0-only
From v3, Zitadel's core, Console and hosted login are licensed under AGPL-3.0-only, with a commercial license offered as an alternative. APIs, SDKs, proto definitions, Helm charts and Terraform configurations stay under Apache-2.0 or MIT, so integration code can differ in license from the server. Zitadel's help center says self-hosted deployments can run in completely isolated networks. Service Ping is on by default and reports the system ID, version and instance details, so set ZITADEL_SERVICEPING_ENABLED to false before go-live. Self-hosted use needs PostgreSQL 14 to 18.
midPoint: EUPL-1.2 identity governance
midPoint is licensed under EUPL-1.2 or later, and Evolveum states there is no Enterprise Edition: every line of code is open source, and support comes through paid subscriptions. Evolveum classifies midPoint as an identity management system, which places it outside access management, so it is neither an authentication server nor an SSO server. Pair it with Keycloak, authentik or Zitadel for login, and use midPoint to provision accounts into those systems. Confirm which connectors your target systems need before you assume offline coverage.
Evolveum FAQWhat phones home by default, and how to switch it off
In authentik, three environment variables stop the update check, startup analytics and error reporting: AUTHENTIK_DISABLE_UPDATE_CHECK=true, AUTHENTIK_DISABLE_STARTUP_ANALYTICS=true and AUTHENTIK_ERROR_REPORTING__ENABLED=false. Together they stop contact with version.goauthentik.io, goauthentik.io and the error-reporting endpoint. Set them in your deployment configuration before the first start, then confirm in the running containers that they took effect. These variables do not cover Gravatar avatar lookups, so an outbound request continues until you change that setting. After installation, sign in as an administrator, open System settings and set Avatars to initials. The authentik air-gapped documentation covers these steps, and it is worth repeating the check after each upgrade.
Zitadel works differently because its Service Ping is on by default, so a self-hosted instance reports from its first start unless you change it. The base report contains the system ID, the running Zitadel version and instance details: the instance ID, creation date and domains. Before go-live, confirm with Zitadel exactly what your version sends, then set ZITADEL_SERVICEPING_ENABLED to false to opt out entirely, as the Zitadel Service Ping documentation describes. Check the deployed configuration directly, and do not assume the setting was read from the file you edited.
Do not assume Keycloak is quiet by default. Ask the Keycloak project or your support contact to list every outbound connection its server makes in the version you plan to run, including update, telemetry, metadata and certificate lookups, and which of them can be disabled. Then prove isolation yourself: block egress at the network boundary, run login, MFA, brokered logins, LDAP or Active Directory sync and an upgrade rehearsal, and review firewall, proxy and DNS logs for denied connections. Zitadel's help center comparison states that self-hosted Zitadel can run in completely isolated networks, which is a vendor statement you still need to test in your own environment.
Only approved files cross into the restricted network through a client-controlled gate
The flow starts in a connected staging zone, where container images, operator bundles and release files are pulled in. Before anything moves, the client's own scan and checksum step checks each file, and only approved files cross into the restricted network through the client's own transfer process. Inside, an internal registry holds the files, a build or install step turns them into the running service, and the database and identity store stay inside the network. Each update repeats this path from the staging zone. Confirm the scan tooling, checksum method and transfer rules with your security team before you plan an update window.
Files cross one approved gate; the scan and transfer belong to the client.
Running each platform in a restricted network day to day
Keycloak moves much of its configuration into the image build. The Keycloak container guide recommends running the build step while you build the image, using a Containerfile that runs kc.sh build and then starts with start --optimized, so the running container does no build work at startup. Treat the image as the unit you test, approve and carry into the restricted network.
- Build inside the image: Place custom providers in
/opt/keycloak/providersbefore the build step. Build-time options such as the database vendor are persisted into the optimized image, so any provider or database change requires rebuilding and redeploying the image. - Operator install: On Kubernetes or OpenShift, install the Keycloak Operator through the Operator Lifecycle Manager, which Keycloak recommends, or with kubectl. Mirror the operator images and manifests into your internal registry before cutover. Keycloak Operator installation
- Database backups: Production needs a relational database such as PostgreSQL 14 to 18. The dev file database is not suitable for production. Back up the database on a schedule you have restored from at least once.
- Current release: Keycloak 26.8.1 was released on October 13, 2026. Schedule upgrades by building a new image through the same pipeline, and test the rebuild outside production first.
- Egress review: No dedicated air-gapped installation guide was found on keycloak.org, so confirm every build and runtime dependency resolves inside your network. Watch for outbound attempts during the first rebuild.
Confirm that the build runs with no outbound access, because a rebuild after a patch is when a hidden external dependency is most likely to surface.
authentik runs as a server container, a worker container and an embedded outpost, with PostgreSQL holding its configuration and data. Its air-gapped guidance centers on switching off outbound calls, so most of the work is configuration and verification.
- Phone-home settings: Set
AUTHENTIK_DISABLE_UPDATE_CHECK=true,AUTHENTIK_DISABLE_STARTUP_ANALYTICS=trueandAUTHENTIK_ERROR_REPORTING__ENABLED=falseso the server stops contacting update, analytics and error-reporting endpoints. authentik air-gapped environments - Gravatar lookups: These variables do not cover Gravatar avatars. After installation, set Avatars to initials in System settings.
- Managed Docker outposts: These pull images from a registry the Docker host can reach, so host that registry inside the network and mirror the outpost images into it.
- Enterprise license: License validation runs locally and needs no internet connection. Enterprise code still requires a paid subscription for production use, so settle that procurement before go-live.
- Current release: authentik 2026.8.4 was released on October 14, 2026. The 2026.5 and 2026.2 lines were patched on September 9, 2026, so confirm which line your patch policy covers before scheduling upgrades.
Block outbound traffic from the server and worker containers during testing, then review the logs for failed connection attempts to confirm nothing else is calling out.
Self-hosted Zitadel depends on PostgreSQL and keeps an event store that records every change. Its help center says self-hosted Zitadel can be deployed in completely isolated networks with no connection to the public internet, so your restricted-network work centers on the database, telemetry and release intake.
- Database version: Self-hosted Zitadel supports PostgreSQL 14 through 18. Confirm your server version falls in that range before install, and include PostgreSQL minor updates in your patch calendar. Zitadel database configuration
- Event history backups: Each change is stored as an event, which gives an audit trail over an unlimited period. Test database restores regularly, since that event history is the audit trail.
- Service Ping: Reporting is on by default. Set
ZITADEL_SERVICEPING_ENABLEDto false to opt out entirely. The base report includes the system ID, running version and instance details such as ID, creation date and domains. Zitadel Service Ping - Current release: Zitadel v4.19.5 was released on October 15, 2026. Plan how release artifacts and container images reach the isolated network before each upgrade.
- Licensing review: Core, Console and hosted login are under AGPL-3.0 since v3, while APIs, SDKs and Helm charts stay Apache 2.0. Have counsel review any modifications before they run in internal services.
Record the Service Ping setting in your configuration baseline on day one, because reporting stays on until you change it.
Where paid features and non-OSI code sit in each platform
Choose authentik only after you confirm which features sit outside its MIT-licensed core. The core is MIT licensed, but the code under authentik/enterprise is covered by the authentik Enterprise Edition license, which is not open source under the OSI definition, and production use of that code requires a paid subscription. The authentik pricing page lists Enterprise at $5 per user per month billed annually, plus $0.02 per external user per month, and Enterprise Plus from $20k annually. License validation happens locally and needs no internet connection, so an air-gapped site can run a licensed install without an outbound link. Ask the vendor how license files are issued and renewed for a closed network, and whether any renewal step needs a connection to a vendor system.
The gated features are where the restricted-network decision gets made. The pricing page lists mTLS client certificate authentication, privileged access management, password history and enhanced audit logging as enterprise-only, and a security team in an isolated environment will usually ask about certificate-based access and audit trails first. Google Workspace and Microsoft Entra ID integrations are also enterprise-only, and both depend on reaching external identity services, so they only help if your network has a sanctioned path to those endpoints. Before purchase, list every control your assessor will test, map each one to a core or enterprise feature, and get written confirmation of which edition contains it.
Zitadel uses a different licensing split. Its core, Console and hosted login moved from Apache 2.0 to AGPL-3.0 with Zitadel v3.0 on 31 March 2025, while APIs, SDKs, proto definitions, Helm charts and Terraform configurations stayed under Apache 2.0. The LICENSING.md file describes the AGPL-3.0 core and a commercial license option alongside it. AGPL-3.0 can require you to offer the source of a modified version that users reach over a network, so have counsel review those obligations before deployment. Then ask Zitadel, in writing, which features in its self-hosted commercial option are gated, and check each feature on your requirements list, including identity sources and audit export, against the license you will run.
How much effort an air-gapped SSO install takes, and who does it
Which of these self-hosted SSO platforms can run fully offline?
Zitadel and authentik both document offline use, and Keycloak's public documentation does not, so confirm Keycloak's offline operation with the Keycloak project before you commit. Zitadel's help center states that self-hosted Zitadel can run in completely isolated networks with no connection to the public internet. authentik publishes air-gapped settings that stop update checks, startup analytics and error reporting, but Gravatar avatar lookups need a manual switch in System settings after installation. Keycloak's container guide describes a build step that runs when the image is built, which fits an offline image pipeline, but it does not replace a documented offline procedure. Test each platform in a network with no outbound route before you rely on it.
What drives the effort of an offline SSO install?
Five design choices drive most of the effort, and the database is the one to settle first. Keycloak needs a relational database in production, with PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL listed in its database guide. Zitadel uses PostgreSQL 14 to 18 when self-hosted. The factors are:
- Database: Keycloak persists the database vendor into its optimized image at build time, so switching later means rebuilding that image.
- External identity providers: each brokered OIDC or SAML provider and each LDAP or Active Directory federation adds configuration, certificates and login tests.
- Custom providers: code placed in /opt/keycloak/providers must be included in each new build before the build step runs.
- Update bundles: each upgrade has to reach the isolated network with its images and packages, then be tested there.
- High availability: replicas, database failover and session handling add design and test work.
What does the client need to provide for an offline SSO deployment?
The client supplies the infrastructure and the staff, and the work happens inside that environment. Plan to provide:
- An internal container registry or package mirror holding every image and package for the first install and each upgrade. authentik's managed Docker outposts pull from a registry the Docker host can reach, so that registry must be internal.
- A supported relational database with backups and a restore that your team has tested.
- Certificates from your internal authority for each hostname and client that uses SSO.
- Directory access to LDAP or Active Directory through a service account limited to what the platform reads.
- Staff who take over the patch cycle after handover.
Can our own platform team run an offline SSO stack?
Your team can run it if it already operates containers, databases, certificates and directory integrations inside isolated networks, and has capacity for every patch cycle. The first install is often the smaller share of the work. The recurring work is building each upgrade bundle, moving it across the air gap, retesting SSO login paths and rotating certificates. Keycloak recommends installing its Operator through the Operator Lifecycle Manager, or with kubectl, so a Kubernetes team has a documented install path to check. If your team cannot staff the cycle, DeployOpen offers ongoing support, upgrades and continuous testing as retainers. Ask each platform vendor to document its offline upgrade path before you choose.
How long does an offline SSO install take to deliver?
A timeline depends on the written scope, so treat any date as provisional until the scope and milestones are agreed. The main drivers are the number of platforms, databases, external identity providers and custom providers, plus how many environments need an air-gap test. Ask for a milestone plan that covers the offline image or bundle build, directory integration, SSO login testing, handover and the first patch cycle your team runs alone. Also ask which steps wait on your change windows or on vendor confirmation, such as Keycloak's offline position. Most DeployOpen engagements are fixed-scope, so the agreed schedule is tied to the agreed deliverables, and any scope change should be written before work continues.
What does a quote for air-gapped SSO work depend on?
A quote follows from the written scope, because DeployOpen does not publish a price list. The inputs that move the number are the platforms in scope, the number of external identity providers and directories to integrate, any custom providers or connectors to build, the air-gap test environment, and how much testing and documentation you need. Testing belongs in the scope: SSO login tests, failover tests and a retest after fixes if you commission security testing. Ask for cost lines that separate planning, build, integration, testing, handover and any retainer, so you can see what is one-time and what recurs. License fees for paid editions, such as authentik Enterprise features, are separate from the implementation quote.
How DeployOpen works on this
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure, including air-gapped networks. For identity in a restricted network, that means scoping the written boundary of each identity platform, checking each external connection it makes, and handing over the evidence your security and compliance teams need to review it. Engagements are fixed-scope, with ongoing support available as a retainer.
How we scope
- The written scope names each identity platform, its hosts, and every external endpoint it is allowed to reach.
- Scope covers which protocols apply, such as OIDC, SAML or LDAP federation from Active Directory or FreeIPA.
- Keycloak has no dedicated air-gapped guide on the Keycloak website, so offline behavior is confirmed during scoping.
How we build
- Build the optimized Keycloak image ahead of time so the restricted host needs no build step at start.
- For authentik, set the update check, startup analytics and error reporting variables, then switch Gravatar lookups to initials after install.
- Confirm
ZITADEL_SERVICEPING_ENABLEDis set to false, since the base Service Ping report includes the system ID and running version.
How we hand over
- Handover documents each platform's configuration, its allowed endpoints and the steps to run it without outside connections.
- Evidence for your security and compliance reviewers covers configuration, access settings and audit logging where the platform provides it.
- An operator runbook for the team that runs it after handover, covering backups, restores and routine maintenance.
How we support
- Upgrades for the restricted setup can be covered under a retainer, with each release checked against the endpoint list.
- Security testing of the identity setup and its admin interfaces can be added to the written scope.
- Check with each vendor which upgrade, licensing and update-check behavior applies to your version before go-live.

