Keycloak vs FreeIPA for GDPR: which fits EU data residency
If your organization must keep identity data in the EU under its own control, Keycloak fits when the main job is single sign-on for web and API applications through OpenID Connect and SAML, and FreeIPA fits when the main job is the Kerberos, LDAP and certificate services that Linux hosts and users depend on. Residency rarely decides this alone, because neither project offers a vendor processor role or a data processing agreement, so the operator is the controller on both sides. That puts Chapter IV duties on your team, including security of processing under Article 32 and breach notification under Articles 33 and 34. This page covers the GDPR and data residency angle only. The general Keycloak vs FreeIPA comparison is on its own page.
Start with where identity data sits. In Keycloak, users and credentials live in the relational database you connect, and production needs a supported engine such as PostgreSQL 14 to 18, so confirm that the database, its replicas and its backups all sit in the EU. In FreeIPA, directory data lives on the IPA servers you run, so decide where each replica sits before you deploy. Then map the login path. If Keycloak federates users from an LDAP or Active Directory source, that directory is part of your identity data and needs the same location review. If Keycloak brokers logins to an external OIDC or SAML provider, that provider handles part of each login and needs its own location and transfer review under Chapter V. A FreeIPA trust with an Active Directory forest works the same way, because AD users authenticate in a forest you may not operate.
Build the evidence file before an assessor asks for it. Keep a data-flow diagram that lists every component holding identity data, including databases, backups, federation sources, brokered providers and admin consoles, with the location of each. Record your version and patch process: Keycloak 26.8.1 was released on October 13, 2026, and FreeIPA 4.13.0 added DNS over TLS between clients and IdM DNS servers, which you should check against your transit controls under Article 32. Confirm with each project and your hosting provider which audit logs are written, where they are stored and how long you keep them, since your environment sets retention, not the software. Finally, agree in writing who owns the controller role and who runs breach notification under Articles 33 and 34.
What GDPR asks of an identity platform that holds EU personal data
Regulation (EU) 2016/679, the GDPR, has applied since 25 May 2018 under Article 99. It names no products, so each duty below falls on the organization that runs the identity platform, whichever software it chooses. The five cards cover the duties that reach login, directory and certificate data, and each one produces evidence an assessor will ask for.
Controller and processor roles
Chapter IV (Articles 24 to 43) puts the main duties on the controller, the party that decides why and how personal data is processed. In a self-hosted Keycloak or FreeIPA deployment, the operator is the controller, and the project is not a processor of that data, so there is no vendor data processing agreement to sign. The organization still has to document which teams run the servers. Any integrator, managed host or support provider with access to directory data is a processor and needs a written contract. Check that split first.
Security of processing
Article 32 requires security measures matched to the risk of the processing. An identity platform holds the login path for every application behind it, including password hashes, sessions, tokens and directory attributes. Start with the production database and its access path. Keycloak needs a relational database in production, from PostgreSQL 14 to 18 or another listed engine, and its default dev-file database is not suitable for production. For FreeIPA, ask who can read the backups and the certificate authority keys. Confirm each control in your own environment.
Keycloak database guideBreach notification duties
Articles 33 and 34 set two notification duties. The controller notifies the supervisory authority of a personal data breach and, in higher-risk cases, the affected individuals. For an identity platform, the question is whether logs can show what was accessed, by whom and when quickly enough to meet those deadlines. Ask whether admin events, failed logins and realm or directory changes are logged, where those logs are kept, and who can alter or delete them. Confirm the deadlines and triggers in the article text, and write the incident runbook before you need it.
Transfers to third countries
Chapter V (Articles 44 to 50) governs personal data sent to a third country or to an organization outside the EU. Hosting in an EU data center does not settle the question alone, because support access from outside the EU, offsite backups and SaaS mail or SMS providers can each move personal data across a border. Confirm which outbound integrations your configuration enables, such as email, SMS or external identity brokers, since each one can carry login data. Map every flow that carries user or directory data before you sign off on residency.
Supervisory authority enforcement
Article 51 places enforcement with independent national supervisory authorities, so each EU member state has its own authority that can investigate. Article 83 sets the fine ceilings. EUR 10 million or 2% of total worldwide annual turnover applies to infringements such as Articles 25 to 39, and EUR 20 million or 4% applies to breaches of the core principles, lawful basis, data subject rights and transfer rules. In each case the higher figure applies. Name the owner of each duty above before an assessor asks.
GDPR text on EUR-LexHow Keycloak and FreeIPA meet GDPR duties as documented
This table compares what the Keycloak and FreeIPA projects document against the GDPR duties that apply to a self-hosted identity platform, including controller role, data location, transfers and security of processing. Read each row as the project's documented position, then check the confirmation notes against the Keycloak Server Administration Guide, the FreeIPA design pages or your own tests. The main takeaway is that neither project processes your data for you, so residency and evidence work stays with your organization.
| Requirement | Keycloak as documented | FreeIPA as documented |
|---|---|---|
| Controller and processor role | The operator is the controller. No vendor processor, DPA or transfer mechanism applies. | The operator is the controller. The project is not a processor of your data, so there is no vendor DPA. |
| Data location | Stays wherever you run Keycloak and its database. Production databases include PostgreSQL 14 to 18, MariaDB, MySQL, SQL Server, Oracle and Aurora PostgreSQL. | Stays where you run the IPA servers. 389 Directory Server replicates multi-master between them, so confirm every replica sits in your approved region. |
| Transfers | No vendor transfer mechanism. Any transfer comes from your federation or brokering targets, such as external OIDC or SAML providers. | No vendor transfer mechanism documented. A cross-forest trust to Active Directory links your domains, so check where that AD forest sits. |
| Access control and administration | Admin console and fine-grained authorization services ship with the server. Confirm admin role scoping in the Server Administration Guide. | 389 Directory Server stores users, groups, hosts and policies, with Kerberos single sign-on. Confirm delegated admin roles in the FreeIPA design pages. |
| Encryption in transit and certificate handling | Confirm TLS termination, certificate rotation and key storage in the Server Administration Guide. | From 4.13.0, DNS over TLS runs between clients and IdM DNS servers, and serial numbers are random by default. Dogtag issues the certificates. |
| Logging and breach detection | Confirm which events are logged, where they go and how long they are kept in the Server Administration Guide. Articles 33 and 34 duties sit with you. | The FreeIPA audit design is documented. Confirm log retention and breach alerting in your own tests. Articles 33 and 34 duties sit with you. |
| Vendor paperwork | Nothing to sign with the project. Your records of processing and security assessments are your own evidence. | Community project with no paid edition, so no DPA. If you run RHEL Identity Management, confirm support terms with Red Hat. |
Where residency decisions change the answer for each side
Start with where the Keycloak server, its database and its backups run, because each location becomes a line in the data map. Production Keycloak needs a relational database, and the supported options include PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL, as listed in the Keycloak database guide. Choosing Aurora is a residency decision as well as a database choice, because it adds Amazon Web Services as a cloud provider the assessor will ask about. Confirm the region for the primary, the replicas and the snapshots separately. A self-managed PostgreSQL cluster in your own EU facility keeps the provider list shorter, but the operator then owns patching, replication and backup testing. Because Keycloak is self-hosted, the operator is the controller and no vendor DPA covers these copies.
FreeIPA spreads personal data to every server that holds a replica. Its 389 Directory Server runs as a multi-master LDAP directory, so each IdM server keeps a writable copy of users, groups, hosts and policies. Map each replica to a country and facility before go-live, and record where backups and disaster recovery copies sit, since a restored replica still holds personal data. The Active Directory trust adds a second decision. FreeIPA can set up a cross-forest trust with an AD domain on Windows Server 2008 R2 or later so AD users reach Linux resources (FreeIPA AD trust guide). The AD domain controllers have their own location, which is a separate decision. AD DS replicates directory data to every domain controller in a domain, so a controller outside the EU needs its own transfer assessment under Chapter V of the GDPR.
Brokering and federation move part of the residency question to systems you do not run. When Keycloak brokers logins to an external OpenID Connect or SAML provider, authentication happens on that provider, which may sit outside the EU, while Keycloak still receives the claims it returns. When Keycloak federates users from LDAP or Active Directory, the source directory remains the authoritative record, and you should confirm which attributes Keycloak imports and caches locally. For each external provider, document its hosting location, its operator and the attributes you accept from it, and ask it for residency and sub-processor documents. Apply the same register to any AD trust or upstream that FreeIPA reaches, so the data map has one list of every system where identity data is read, copied or authenticated.
Where identity data stays in the EU and where it can leave
The flow starts with a user login at Keycloak, which runs inside the EU operator infrastructure with its own database. Keycloak federates users from an LDAP or Active Directory source, so that directory data stays inside the boundary. FreeIPA serves Kerberos tickets and certificates to Linux hosts and reaches Active Directory through a trust. The dashed edge is the one to check: when Keycloak brokers a login to an external identity provider, identity data can leave the boundary. SaaS applications receive identity claims from Keycloak outside the boundary too. Confirm where each external provider processes data, and where the database and FreeIPA replicas sit.
Identity flows inside the EU boundary and one possible exit.
Evidence an assessor will ask for and how each side produces it
Keycloak evidence is mostly operational records from the server and its database, so an assessor will ask which version runs in production and how its configuration is controlled. The current release is 26.8.1, published October 13, 2026, but your evidence must name the version you actually run. The Keycloak Server Administration Guide is the reference to cite for configuration behavior.
- Version and upgrade records: the running version, the date of each upgrade and the release notes reviewed before each change. Since Keycloak 26.0 the project plans four minor releases a year and says breaking changes in a minor release will be opt-in, so record which opt-ins you enabled.
- Data location and database configuration: the host location, the database engine and version, and where backups are stored. Production needs a relational database, and PostgreSQL 14 to 18 is among the supported options, so name the one you run.
- Admin access lists: the named administrators in the master realm and in each working realm, their MFA status and the date of the last access review. Export these from the admin console or admin API and keep the export with the review.
- Event and admin logging: the event types and admin events you enable, where they are sent and how long they are kept. Confirm these options against the documentation for your exact version, since logging settings change between releases.
- Backup and restore test results: dated restore tests of the database and realm configuration, with the outcome and the time taken. A backup file with no dated restore test is weak evidence.
Sample these settings on the live server, since an assessor will check the running configuration as well as the documents.
FreeIPA evidence comes from the directory, the Kerberos and certificate services and the DNS configuration, all running on servers you operate. The newest upstream tag in the repository is release-4-13-4, which belongs to the 4.13 line, so record the release line and the installed package build on each host. The FreeIPA downloads page lists the distributions that package FreeIPA, and the build from your distribution is the one an assessor will check.
- Installed release and packages: the IPA server and client package versions on every host, with the distribution build number. Record the 4.13 line and the upstream tag you tested against.
- Server and replica topology: every IPA server, which ones are replicas, which ones run the certificate authority, and the replication agreements between them. FreeIPA uses 389 Directory Server in a multi-master design, so the diagram should show each replication path.
- DNS over TLS and certificate serial settings: whether DNS over TLS is enabled between clients and IdM DNS servers, a capability introduced in 4.13.0, and whether random certificate serial numbers are in use, which 4.13.0 made the default. Confirm the settings on your own install, since they can be changed locally.
- AD trust configuration: each cross-forest trust with an Active Directory domain, the trust type, the Windows Server versions involved and the approval record. Keep the matching domain controller settings in the same evidence bundle.
- Host policy records: the host groups, host-based access rules and sudo rules that decide which users reach which servers, with an owner and a review date for each. Check the exact policy objects your version exposes in the FreeIPA documentation.
Export the topology, trust and policy configuration from the live servers and have the platform team date and sign each export so it reflects the running state.
This tab covers records that only your organization can produce. Under the GDPR, the controller and processor duties in Chapter IV and the transfer rules in Chapter V apply to identity data whichever platform you choose, and an assessor will ask who decided what. Both platforms can supply technical facts for these records, but the decisions, approvals and dates are yours to document. The full text is on EUR-Lex.
- Role decisions: a written statement that you are the controller for identity data, which systems process it and which parties act as processors. Document any support or consulting party that can reach identity data, and the terms of that access.
- Transfer assessments: where identity data is stored and where it is accessed from, including backups, support sessions and remote administration. Transfers to third countries fall under Articles 44 to 50, so each access path from outside the EU needs its own assessment.
- Security of processing mapping: the measures you adopted under Article 32, each linked to the platform settings in the other two tabs and assigned an owner.
- Breach runbook: the steps to detect, assess and report a breach involving identity data, with the duties in Articles 33 and 34 built into each step. Test it in a tabletop exercise and keep the dated record.
- Supervisory authority contact plan: the named contact for the competent supervisory authority, the escalation path and who is authorized to notify. Supervisory authorities are independent national bodies under Article 51, so confirm which one applies to your establishment with counsel.
Have your data protection officer or legal counsel approve each record, because platform evidence shows how the system behaves but cannot establish a lawful basis or a transfer position on its own.
Configuring Keycloak or FreeIPA for EU data residency
This sequence takes an organization from a data map to a documented EU deployment of Keycloak or FreeIPA. Each step ends in an artifact that the DPO, counsel or an assessor can review, and the organization makes the decisions while the product documentation determines which settings are available.
Fix the data map and roles
Your DPO and counsel record which personal data the identity service holds, such as usernames, group memberships, credentials and login logs, and which system and which party is the controller and the processor. A self-hosted Keycloak or FreeIPA runs in your infrastructure, so the operator is the controller and no vendor DPA applies. Any hosting provider, implementation partner or support vendor that touches the data may be a processor, and counsel decides whether a processor agreement is needed. This step is done when the data map is signed off and every processor role is named in writing.
Choose EU locations for data and backups
Decide which EU locations will host the identity servers, the production database and the backups, and whether any replica, support access path or log export leaves the EU. Keycloak needs a relational database in production, and its database guide lists the supported engines, including PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. Confirm that the chosen engine and each backup target sit in the EU and that the support access path is documented in your hosting contract. This step is done when a site list shows a location for every copy of the data and the security team has approved it.
Deploy the identity servers in the EU
For Keycloak, install the server with a production database from its supported list. If you run Kubernetes or OpenShift, the Keycloak Operator can be installed through the Operator Lifecycle Manager or with kubectl. For FreeIPA, deploy the IdM servers and replicas in EU locations and set DNS and NTP, since FreeIPA can run ISC BIND DNS and NTP as part of its integrated design. Keep the development file database out of production. This step is done when every server, replica and time source is in the EU and a test login succeeds against each one.
Configure federation and record transfer decisions
List every external source the identity service will connect to, such as an LDAP or Active Directory directory for user federation, an external OIDC or SAML provider for brokering, or an Active Directory domain for a FreeIPA trust. Keycloak documents both user federation and identity brokering, and FreeIPA documents a cross-forest trust with Active Directory on Windows Server 2008 R2 or later. For each source, record the direction of data flow, whether any data leaves the EU, and the transfer mechanism that applies if it does, with counsel's sign-off. This step is done when the transfer register lists every source with its decision.
Set access control and verify audit logging
Create named administrator accounts, remove shared or default admin access, and grant each role only the scope it needs. Then make a test change, such as creating a user, changing a group or editing a client, and confirm in the Keycloak Server Administration Guide or the FreeIPA documentation for your version which events are recorded, where they are stored and how the log is protected. Copy the log to a store that your security team controls. This step is done when the test change appears in the log with the administrator's name and the log copy is confirmed.
Set encryption in transit and at rest
Set the encryption standard your organization has adopted for TLS between clients and the identity service, between the service and its database, and for the storage and backups that hold credentials and keys. Check each option in the product documentation for your version before you choose it, because settings differ between releases. For FreeIPA, confirm the version you run, since release 4.13.0 introduced DNS over TLS between clients and IdM DNS servers. This step is done when a table maps each channel and each storage location to the setting that protects it, and a check of each endpoint confirms the setting is active.
Build the evidence pack and retest
Assemble the evidence that an assessor or your DPO will ask for: the data map, the processor list, the site and transfer register, the configuration baseline, the administrator account list, the log samples and the encryption table. Retest the access controls, logging and federation settings after each change and record the results. Your auditor or certification body decides whether the evidence is sufficient. DeployOpen can prepare the systems, controls and evidence and run the retest, but it does not issue audit reports or certifications. This step is done when the pack is complete and the retest results are filed with it.
What buyers ask before hiring help for GDPR-ready identity
What drives the cost and effort of a GDPR-ready Keycloak or FreeIPA project?
Scope, the number of applications and the identity sources you must connect drive most of the effort, and the written scope drives the quote. A single web application that uses OpenID Connect is a different job from twenty applications that need SAML, LDAP federation and per-application attributes. The factors that usually add work are:
- the number of federated sources, such as LDAP or Active Directory directories and external identity providers to broker
- database high availability and EU backup sites, since Keycloak needs a relational database in production and each site adds infrastructure and testing
- the Linux, Kubernetes, DNS and Kerberos skills already on your team
- legal review of retention and transfer terms, which your counsel carries out
Much of the cost is one-time build and handover. Recurring cost comes from upgrades, patching, testing and any retainer. Ask the quote to price each line separately.
What does our team need to provide before an implementation starts?
You provide the architecture decisions, the network and DNS detail, the access lists and the time from your data protection officer. Before work starts, expect to supply:
- the target architecture, including which EU locations host the servers, databases and backups
- network and DNS detail: hostnames, zones, firewall paths and how clients and applications reach the identity service
- access lists: who administers the platform, who can read directory data and which applications and service accounts receive credentials
- records of processing and the data categories the platform will hold, reviewed with your DPO
DPO time confirms what personal data is stored, how long it is kept and whether any data leaves the EU. Those answers shape the design, so collect them before the scope is signed. Your team should also name an owner for the platform after handover.
Can an experienced identity team set this up alone using the documentation?
Often yes for one well-scoped deployment, but the documentation describes the products and says little about your environment, data flows or evidence. Keycloak publishes guides for its database, its operator and server administration, and FreeIPA publishes release notes and an Active Directory trust guide. No guide decides your EU topology, writes your access reviews or shows an assessor that the controls operate as designed. Test your team with three questions:
- Has anyone run the platform in production through an upgrade and a restore?
- Who owns patching, given that Keycloak plans four minor releases a year?
- Can someone test failover and backup recovery and record the results?
If any answer is no, plan an outside team for the first build and require a handover so your staff can run it afterwards.
Does DeployOpen certify that our Keycloak or FreeIPA setup is GDPR compliant?
No. DeployOpen does not issue audit reports, attestations or certifications, and it does not certify any platform as GDPR compliant. It plans, implements and hardens the self-hosted system, then prepares the systems, controls and evidence so your own compliance and security teams can review them. Assessment rests with your internal assessors and, where it applies, the independent national supervisory authorities that enforce the GDPR under Article 51. Your accountability records answer whether the deployment meets the regulation, and they must hold up when a supervisory authority asks. Ask any partner which evidence it will hand over and in what format, and confirm with your DPO which evidence your assessors expect.
Do Keycloak or FreeIPA offer a data processing agreement?
Neither Keycloak nor FreeIPA offers a data processing agreement, because both are self-hosted open source software and the project does not process your data. Keycloak runs where you operate it, so user and identity data stays in that location, and you are the controller. FreeIPA directory data stays where you run the IPA servers. A DPA becomes relevant when an outside party handles the data. If DeployOpen staff access your environment during an engagement, ask your counsel whether an agreement covering partner access is needed, and what it should say about location, access logging and deletion of working copies. Ask the same question of any third-party support contract you sign.
How is an identity implementation project priced and quoted?
Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and DeployOpen does not publish a price list. A quote follows from that written scope, so the scope document is where cost gets decided. Ask for the quote to list:
- each application, federated source and protocol in scope
- the deliverables, such as architecture, hardening, backup and handover documents
- what you provide, including DPO and counsel time
- which items are one-time and which recur under a retainer for support, upgrades or continuous testing
Ask how change requests are priced and approved in writing before any extra work starts.
How DeployOpen helps prepare an EU-resident identity deployment
DeployOpen plans, implements, hardens and documents self-hosted identity platforms inside your own infrastructure, so the data stays where your team runs it. For Keycloak vs FreeIPA under GDPR, we help you map Keycloak's OIDC and SAML services and FreeIPA's LDAP, Kerberos and certificate services to the controls your compliance team must evidence. DeployOpen prepares that evidence but does not issue audit reports or certifications; independent auditors do.
How we scope
- Written scope fixes which Keycloak realms, FreeIPA domains and data flows are in the engagement before work starts.
- We record where each identity store runs, which EU locations hold its replicas and backups, and who operates it.
- Scope also covers external providers you broker logins to, since those paths may move data outside the EU.
How we build
- We deploy Keycloak and FreeIPA inside your infrastructure, with the database, replicas and access controls configured.
- Admin access, logging and hardening settings are implemented and documented so your team can test them against its own controls.
- Settings the vendor documentation does not confirm are flagged and listed for your team to verify.
How we hand over
- Handover includes configuration records, a data-flow map showing where identity data is stored, processed and backed up.
- Evidence maps each control to GDPR Article 32 security of processing and Chapter V transfer rules.
- Runbooks for upgrades, backups and restores are handed over so your operators can run the platform without us.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Keycloak's project plans four minor releases a year, so plan upgrade time for each one.
- Ask for the FreeIPA release line and Keycloak version your quote covers, and who patches each.

