Keycloak vs authentik for GDPR and EU data residency: which side fits your situation
Keycloak and authentik are both self-hosted, so residency is set by where your organization deploys them, in its own cloud accounts, data centers or air-gapped networks. This page covers only the GDPR and residency angle, and the general comparison sits on its own page. Keycloak fits when the features in scope (OpenID Connect, SAML, identity brokering, and LDAP or Active Directory federation) are covered by its Apache-2.0 release, which has no paid edition, so the controls an assessor reviews sit in the same software you run. authentik fits when its MIT-licensed core covers the need and your team accepts that enhanced audit logging, mTLS and privileged access management are Enterprise-only features that need a paid subscription for production use.
Whichever side you choose, most of the GDPR evidence sits in your own hands. In a self-hosted deployment there is no vendor processor, data processing agreement or transfer mechanism, so you remain the controller and must show the security of processing that Article 32 requires. Keycloak needs a relational database in production, and PostgreSQL 14 to 18 is supported, so the database host, its backups and its region become part of your residency record. authentik also keeps its configuration and data in PostgreSQL, so the same question applies. If an LDAP or Active Directory source holds your workforce identities, confirm where that directory and its replicas run, because a federated copy of personal data is still personal data in scope.
The decision turns on four questions. First, where PostgreSQL and any LDAP or Active Directory source sit, and whether they stay inside the EU location you have committed to. Second, whether logins are brokered to external OpenID Connect or SAML providers, since each provider receives login data and belongs in your transfer analysis under Chapter V. Third, how much audit depth the assessor expects: if enhanced audit logging is required, authentik's version of it is a paid Enterprise feature, and you should confirm what audit evidence your Keycloak deployment produces. Fourth, the patch cadence each project documents. Keycloak plans four minor releases a year, while authentik's security policy covers its 2026.5.x and 2026.8.x lines. Check both against your change windows before you sign off.
Where identity data sits and what crosses the trust boundary
The diagram starts with users and relying applications outside the boundary, then follows their logins into Keycloak or authentik and its PostgreSQL database, both inside the organization's own EU infrastructure. An LDAP or Active Directory source sits inside the same boundary and feeds users to the identity server. Brokered logins leave the boundary for an external OIDC or SAML provider, which is a separate party and a separate transfer question. The dashed line to the vendor shows enterprise subscription support, and whether any identity data reaches the vendor during a support case is a point to confirm in writing. Check which direction of directory connection your chosen product supports before you fix the architecture.
Each arrow leaving the boundary is a Chapter V transfer question.
How Keycloak and authentik meet each GDPR and residency requirement as documented
This table sets each platform's documented position against the GDPR and residency questions an assessor is likely to raise for an identity service. Read each row as a list of what the vendor documents and what your team must still confirm, since residency and DPA terms depend on your own hosting and contracts. The main takeaway is that a self-hosted core keeps identity data under your control on both platforms, while authentik's enhanced audit logging and its enterprise DPA review sit with the paid edition.
| Requirement | Keycloak as documented | authentik as documented |
|---|---|---|
| Where identity data is held | Self-hosted, so user data stays where you run it. Supported databases: PostgreSQL 14 to 18, MariaDB, MySQL, SQL Server, Oracle, Aurora PostgreSQL. | Stores configuration and data in PostgreSQL in the deployment you run. Confirm the location of every host and database you operate. |
| Processor relationship and DPA | No vendor processor, DPA or transfer mechanism; the operator running it is the controller. | Core is MIT-licensed and self-hosted. Any enterprise subscription needs a DPA check before signing. |
| Security of processing and patching | 26.8.1 is current (released October 13, 2026). Four minor releases a year; breaking changes in minor releases are opt-in. | Lines 2026.8.x and 2026.5.x receive security fixes, and security releases are announced at least 24 hours in advance. |
| Audit trail | Confirm which admin and login events are recorded in the server administration guide before relying on it. | Enhanced audit logging is Enterprise-only. Confirm what the core edition records before relying on it. |
| Access control and sign-in | OpenID Connect, OAuth 2.0, SAML 2.0, identity brokering, and LDAP or Active Directory user federation. | OAuth2 and OpenID Connect, SAML, LDAP, RADIUS and proxy providers. mTLS and password history are Enterprise-only. |
What authentik's paid edition changes for an audit
For an audit, the first question is which code you run and under what terms. The authentik core is MIT licensed, but code under authentik/enterprise is covered by the authentik Enterprise Edition license and needs a paid subscription for production use, according to the authentik LICENSE file. That line matters for GDPR evidence because several controls an assessor may ask about sit on the paid side: enhanced audit logging, password history, mTLS client certificate authentication and privileged access management are listed as Enterprise-only features on the authentik pricing page. If your evidence for security of processing under Article 32 relies on audit logs or privileged access controls, a core-only deployment may not provide them. Confirm with authentik which features each edition includes before you write them into your records of processing.
The cost has several parts, and only some of them go to authentik. The software is free to use in its core, so the subscription buys the edition and vendor support. 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 starting at $20k annually. Ticket-based support applies to subscriptions over $1k. The subscription recurs for each billing term and rises with internal user count, external user count and edition. Infrastructure, database operations, configuration, and the work to produce audit evidence are separate costs that your team or a services partner carries, with setup typically one-time and operations recurring. Ask for a written quote that states the edition, the user counts priced, how external users are counted and the billing term.
Before you sign, ask authentik for its data processing agreement, the location where any support data is processed and its list of sub-processors. These matter under GDPR because support tickets and troubleshooting bundles can contain personal data such as usernames, email addresses and log lines. Because authentik runs in your infrastructure, identity records stay there, but a support channel may process data elsewhere, so the answers belong in your processor records. On the Keycloak side, the features in scope for this comparison sit in the Apache-2.0 release, so the cost comparison does not depend on a paid tier. Confirm with the vendor or distributor whether any paid Keycloak distribution exists and what it adds before you treat it as part of the plan.
Evidence an assessor asks for under GDPR and EU data residency, and how each side produces it
Keycloak is self-hosted, so the data flow, database location and backup location are decisions you document and can show an assessor directly. The product brings no vendor processor, DPA or transfer mechanism, so the transfer and sub-processor evidence comes from your own deployment and from any external identity provider you broker to.
- Data flow and trust boundary: Draw the path from users through the load balancer to Keycloak nodes and the database, and mark where your network boundary sits. You produce this diagram; the product does not generate it.
- Database region and backups: Production needs a relational database, with PostgreSQL 14 to 18 among the supported options. The region and backup target come from your database platform, so record them alongside the deployment.
- Transfer register for brokered providers: Each external OIDC or SAML identity provider you broker logins to receives user data at sign-in. List each one with its location and the transfer mechanism you rely on, because Keycloak does not create that record.
- Version and patch records: Keycloak 26.8.1 was published on October 13, 2026 according to the Keycloak releases page. Keep your own log of the version deployed and the date each fix was applied, and confirm where the project publishes its security advisories.
- Admin events and retention: Confirm in the Keycloak server administration guide which admin and user events your version records, how you export them and how long you keep them.
Before the assessment, check that every item above has an owner, a storage location and a review date.
authentik core is MIT licensed, but code under the enterprise directory uses a separate license and needs a paid subscription for production use. That split matters for evidence: enhanced audit logging and privileged access management are listed as Enterprise features on the authentik pricing page, so the records an assessor asks for may depend on your edition.
- Data flow and trust boundary: The server container, embedded outpost, worker container and PostgreSQL define the core flow. Any separate outposts you deploy add boundaries you must draw yourself, so confirm where each one runs.
- Database region and backups: Configuration and data are stored in PostgreSQL, so the region and backup target are those of your database. The product does not set them; you record them with the deployment.
- Patch records against the security policy: The security policy lists 2026.5.x and 2026.8.x as receiving security fixes, and security releases are announced at least 24 hours in advance. The current release is 2026.8.4 (October 14, 2026), and the 2026.2 line still received patches on September 9, 2026, so record which line you run and whether it is covered by the policy.
- Audit log export and retention: authentik records events, described in the authentik events documentation. Confirm which events your edition captures, and set the export route and retention period yourself.
- Brokered providers and vendor support: Google Workspace and Microsoft Entra ID integrations are Enterprise-only and send data to external services, so they belong in the transfer register. Ticket-based support on paid subscriptions is a separate vendor path; confirm with the vendor what personal data it may process and on what terms.
Confirm your edition and supported release line before you assemble the evidence pack, because both change which records exist.
Some evidence describes your decisions, your people and your legal position, so no identity product can produce it. Assessors will ask for these records whichever platform you choose, and they should be drafted before the review starts.
- DPIA: Where processing is likely to be high risk, the controller obligations in Chapter IV of the GDPR call for a data protection impact assessment. Your data protection lead decides whether one is required and writes it, using the data flow diagram from the product tab.
- Breach response runbook: Articles 33 and 34 set breach notification duties toward supervisory authorities and, in some cases, individuals. The runbook should cover log review, admin account revocation and credential resets on your identity platform, and you should test it.
- Admin access reviews: Review who holds admin roles at a set interval and keep dated sign-off. Neither product approves those reviews for you, so decide who signs them and where the signed record is stored.
- Sub-processor and transfer confirmation: Write down either the sub-processor list or a statement that none exists for your deployment. It must match the transfer register and any vendor support terms you hold.
- Retention and log export schedule: Set retention periods for identity logs and a documented export routine, based on your security of processing obligations under Article 32. Confirm the periods with legal counsel.
Assign an owner, a storage location and a review date to each record, then check them against both product tabs before the assessment begins.
Configuring the chosen side for GDPR and EU residency, step by step
This sequence takes a team from an identity data map to a set of records an assessor can trace, for either Keycloak or authentik. Each step names the owner and the check that closes it, and the steps say where the two products differ. Configuration alone does not make either product compliant, so each step ends with evidence you keep.
Map identity data flows and trust boundary
Before you pick a region, list every flow that carries identity data: login and token traffic, user attributes, LDAP or Active Directory reads, brokered logins to external identity providers, audit events and admin sessions. For each flow, record whether it crosses the edge of your EU infrastructure. The security architect owns the map, and the privacy lead reviews the trust boundary drawn from it. Both products need this map because the flows come from your directories and applications. Done when every flow has an owner, a source, a destination and a recorded basis for any transfer outside the EU.
Place database and backups in the EU
Keycloak needs a relational database in production, with supported engines including PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. authentik keeps its configuration and data in PostgreSQL, so confirm the supported PostgreSQL version in its documentation before you build. The platform engineer places the primary database, replicas, backups, snapshots and log stores in the agreed EU location. Check the region in the provider console and in the runbook. Done when a restore test succeeds inside the EU location and the storage inventory shows no copy elsewhere.
Record transfers before connecting sources
Connect LDAP, Active Directory and external identity providers only after each transfer has a register entry. In Keycloak, the usual paths are user federation from LDAP or Active Directory and brokering logins to an external OpenID Connect or SAML provider, and each path gets its own entry. In authentik, check whether the source you need is in the open source core or the enterprise directory, because the pricing page lists Google Workspace and Microsoft Entra ID integrations as enterprise-only. Its LDAP provider serves legacy apps, so record that outbound flow too. Done when the register matches the flow map and test logins with a non-production account show only the expected fields.
Enable the audit configuration each side documents
Turn on the audit settings each product documents, then prove they work. For authentik, the pricing page lists enhanced audit logging as enterprise-only, so confirm with your subscription terms whether it is in scope before you rely on it. The open source event records are described in the authentik events documentation, and you should verify what they capture before you map them to your evidence. For Keycloak, confirm the event logging settings in the Server Administration Guide and the destination of those logs. Trigger a successful login, a failed login and an admin change, then confirm each appears in the log store in the EU location.
Set the patch and upgrade cadence
Set the patch and upgrade cadence from the release pages and security notices, then write it down. Keycloak plans four minor releases a year and says breaking changes in a minor release are opt-in, so the cadence should leave time to test each minor release in staging. authentik announces security releases at least 24 hours in advance and its security policy lists which release lines receive fixes, so plan upgrades to stay on a supported line. Confirm current versions on the release pages on the day the cadence is approved. Done when a named owner has signed the cadence and one staging upgrade has been completed.
Lock admin access and schedule reviews
Limit administrator roles to named accounts, require strong authentication for them, and document a break-glass procedure for the case where the normal admin path fails. Keycloak administrators are managed through its admin console and realm roles, while authentik administrators are managed through its own interface and role settings, so each side needs its own admin list. The security lead sets the review interval in the access policy and records who reviewed the list, when, and which accounts were removed. Done when the admin list matches current HR or contractor records and the latest review has a signed record.
Assemble the evidence pack for assessors
Assemble the evidence pack in the order of the earlier tab list, and have the privacy and security leads check each item. Include the flow map, transfer register, database and backup location records, restore test results, audit configuration and test event outputs, the upgrade cadence and staging records, admin access reviews, and an edition record showing which authentik features or subscriptions are in use. Label what each item shows and what it leaves uncovered. DeployOpen can prepare this pack under a written scope, but independent auditors and supervisory authorities make the final determination. Done when an assessor can trace each claim to one document.
Questions buyers ask before hiring help for GDPR and EU residency
What drives the cost of a GDPR-scoped identity deployment?
Scope drives most of the cost, because both Keycloak and authentik core are free to download under their open-source licenses. Five things move the total: the systems that hold personal data, the number of identity sources such as LDAP, Active Directory or external identity providers, the edition you run, the number of applications that move to the new login, and how deep the evidence must go for an assessor. Each one changes the written scope and therefore the quote. For authentik, the pricing page lists Enterprise at $5 per user per month billed annually plus $0.02 per external user per month, and Enterprise Plus starting at $20k annually. Those are subscription costs paid to authentik, separate from any implementation fee. DeployOpen does not publish prices, and a quote follows from the written scope.
How long does a GDPR-scoped identity project take?
The timeline depends on the written scope, and it is agreed in writing before work starts. The main variables are the number of identity sources to connect, how many applications move to the new login, whether the database and hosting must be prepared inside your own infrastructure, and how many review cycles the evidence needs before an assessor sees it. Ask for the schedule as part of the scope document, with milestones, the client tasks that gate each milestone, and the change windows needed for cutover. Also ask how a delay in an identity source, or in counsel's review of transfers, would change the plan, because those dependencies are where schedules usually slip. Tie any expected effort to that document rather than to a general estimate.
What does our team need to provide for a GDPR deployment?
Four things are needed, and the work stalls without them: a named owner, access to the database and identity sources, input from counsel or the data protection officer on transfers, and a change window for cutover. The owner makes scope and acceptance decisions for the identity platform. Database access covers the supported database that stores configuration and user data, plus read access to any LDAP, Active Directory or upstream identity provider used for federation or brokering. Counsel or the DPO should confirm where personal data is stored, who can reach it from outside the EU or EEA, and which transfer mechanism applies, if any. A change window is needed because switching logins affects every connected application. Confirm these responsibilities in writing at the start, with dates, so they appear in the scope document.
Can our own team run a GDPR-scoped Keycloak or authentik setup alone?
Yes, for the open-source core of either product, if your team has the platform skills to install, configure, back up and upgrade it. Keycloak is licensed under Apache-2.0, and authentik core is MIT licensed, so the core can run in your own infrastructure without a vendor subscription. Two gaps need confirmation. First, code under authentik's enterprise directory needs a paid subscription for production use, and features such as Google Workspace and Microsoft Entra ID integrations are listed as enterprise features, so check whether your required features sit in the open-source core. Second, legal review of transfers, the records of processing and any data protection impact assessment is not a task a platform team can settle alone, so involve counsel or the DPO. Confirm current edition terms with each vendor in writing before you rely on them.
Does DeployOpen certify that our identity setup is GDPR compliant?
No. DeployOpen does not issue audit reports, attestations or certifications, and it does not certify GDPR compliance. DeployOpen plans, implements and hardens the self-hosted platform inside your infrastructure, then prepares the systems, controls and evidence that your compliance and security teams review. GDPR compliance is assessed by the independent national supervisory authority responsible for your organization if an inquiry occurs. Any formal report or certification tied to the setup comes from an independent auditor or certification body that you choose and engage. Ask any prospective partner to show, in the written scope, which evidence they will prepare, who reviews it, and which items remain your responsibility, including records of processing, transfer decisions and breach response procedures.
Do we need a data processing agreement for open-source identity software?
It depends on whether any vendor relationship processes personal data, and you should confirm that with each vendor. Keycloak is self-hosted, so the identity data stays where you run it, the operator is the controller, and no vendor processor, DPA or transfer mechanism is involved. The question arises when a vendor handles personal data in another way, such as through a paid authentik subscription, a support request that includes user records, or diagnostic data you choose to share. Ask each vendor in writing what data their relationship touches. If an implementation partner accesses user data during the engagement, a processing agreement with that partner may be needed too. Have counsel or the DPO decide whether a DPA, a transfer clause or no agreement applies, and record the answer in your processing records.
How DeployOpen prepares, implements and evidences either platform
DeployOpen approaches Keycloak vs authentik for GDPR and EU data residency as a fixed-scope engagement inside your own cloud accounts, data centers or air-gapped networks. Where data lives, who operates the platform and which controls exist are settled in writing first, then built and documented so your compliance and security teams can review them.
How we scope
- The written scope names which platform, hosting location, database and identity sources are in use before any work starts.
- Scope records which authentik edition is in use, since enhanced audit logging and Entra ID integrations are enterprise-only.
- Scope maps the GDPR obligations to controls, including Article 32 security of processing and Articles 33 and 34 breach notification.
How we build
- Deployment in your cloud account, data center or air-gapped network keeps user and identity data in the location you choose.
- Keycloak needs a relational database, and PostgreSQL 14 to 18 is supported, so database placement is fixed during the build.
- authentik keeps configuration and data in PostgreSQL, and the server, embedded outpost and worker containers deploy to your chosen environment.
How we hand over
- Handover includes a written record of hosting location, database placement, backup location and who holds administrative access.
- Documentation covers configuration for audit logging, SSO and access control so your assessor can trace settings to scoped controls.
- DeployOpen prepares the evidence and controls for your assessment; independent auditors and certification bodies issue any audit report.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the initial build.
- The Keycloak project plans four minor releases a year, and breaking changes in minor releases are opt-in.
- authentik's security policy lists 2026.5.x and 2026.8.x as supported lines, with security releases announced at least 24 hours ahead.

