Which platform fits GDPR and EU data residency
Under GDPR, the first question is where identity data is processed and who answers for it, because login records, directory attributes and audit logs are personal data. Okta fits when the contract can fix processing locations and the team accepts a vendor processor relationship, while Keycloak fits when identity data must stay in EU infrastructure the team runs. This page covers only the GDPR and EU data residency question. The general Okta vs Keycloak comparison sits on its own page, so feature and licensing trade-offs are not repeated here. The decision turns on three things: the location commitments a vendor will put in writing, who carries the Article 32 security controls, and staff cost weighed against subscription cost.
On the Okta side, the Okta data residency page lists cells in the US, EMEA, Japan, Australia, Canada and India, and it does not name an EU location. It also states that the location of sub-processor processing can vary with the service and cell the customer selects, so an EU tenant should not be assumed from marketing material. Ask for the cell assignment, the sub-processor list with processing locations, and the transfer mechanism for each, and confirm they appear in the contract. On the Keycloak side, the operator is the controller, there is no vendor processor, DPA or transfer mechanism to negotiate, and identity data stays wherever you run the servers. The trade-off is ownership: hardening, patching, backups, access logging and breach handling under Articles 33 and 34 fall to your team as part of Article 32 security of processing.
Put the cost side in the same review. Okta is sold per user per month, billed annually, with a $1,500 annual contract minimum according to Okta's pricing page, so the subscription recurs and grows with headcount. Keycloak carries no license fee under Apache-2.0, but its cost moves to people and infrastructure: EU hosting, a supported production database, high availability, upgrades, and the staff who keep the Article 32 controls working over time. Ask any implementation partner for a written scope that states who operates each control, where each log and backup is stored, and which EU locations apply, because a quote follows from that scope. Before deciding, have your data protection officer review the location commitments and the controller and processor split, since assessors usually test those first.
What GDPR asks of an identity and SSO platform
The GDPR has applied since 25 May 2018, and it reaches an identity platform through every login, directory attribute and audit record it holds about people in the EU. The five obligations below connect: each one decides who carries a duty, which evidence an assessor will ask for, and where the data is processed. Read them against your own hosting plan before comparing either product.
Controller and processor roles
Under Chapter IV, the controller decides why and how personal data is processed, and a processor acts on that controller's instructions under a contract. With Keycloak on your own infrastructure, your organization is the controller, and no vendor processor, DPA or transfer mechanism is involved. With Okta's cloud service, confirm in writing which role Okta takes, which DPA terms apply and which sub-processors handle your tenant's data. Also list your own administrators and operators, because they process personal data too.
Okta privacy policySecurity of processing
Article 32 asks you to choose security measures suited to the risk, test them and keep systems confidential and available. With Keycloak, the whole stack is yours: TLS, the relational database (PostgreSQL 14 to 18 is among the supported production options), admin console access, backups and patching. Keycloak's project plans four minor releases a year, so set a patch calendar that re-tests realm and client configuration with each one. With Okta, the vendor operates the infrastructure, but your tenant policies, admin roles and MFA settings still need evidence.
Okta Security Trust CenterBreach notification duties
Articles 33 and 34 require notice to the supervisory authority within the deadline Article 33 sets, and notice to affected people where the risk is high. An identity platform is often where a credential compromise first shows, so the audit trail decides how quickly you can scope an incident. Okta's System Log can be queried through its API and exported to your SIEM. With Keycloak, confirm that user and admin event logging is enabled in your version, that events ship to storage you control, and that retention covers your notification window.
Okta System Log queryTransfers under Chapter V
Chapter V (Articles 44 to 50) governs transfers of personal data to third countries and does not prescribe a single location. Okta has cells in the US, EMEA, Japan, Australia, Canada and India, and its data residency page does not name an EU location, so ask which cell and sub-processor locations apply to your tenant in writing. Okta states that sub-processor processing locations can vary with the service and cell you select. Keycloak keeps data where you run it, but remote support staff, backup vendors or an offshore hosting provider can still create a transfer. Confirm with counsel which transfer mechanism applies to your processing.
GDPR text on EUR-LexEnforcement and fines
Article 51 places enforcement with independent national supervisory authorities, which can investigate your processing and order corrective action. Article 83 sets maximum administrative fines: EUR 10 million or 2% of total worldwide annual turnover for infringements such as Articles 25 to 39, and EUR 20 million or 4%, whichever is higher, for breaches of the principles, lawful basis, data subject rights and transfer rules. Assemble configuration, access review and log evidence for each platform before an inquiry starts.
How Okta and Keycloak meet each GDPR obligation as documented
This table sets each GDPR obligation that touches identity data against what Okta and Keycloak document today. Read the Okta column as vendor statements that still need contract and Trust Center review, and the Keycloak column as duties you keep because you run the server. Where a cell says to confirm, the point is not settled in published material, so ask the vendor or check your own environment before you rely on it.
| Requirement | Okta as documented | Keycloak as documented |
|---|---|---|
| Processing location | Cells in the US, EMEA, Japan, Australia, Canada and India. No EU location is named; confirm the cell in writing. | Data stays where you run the server, so an EU location is your decision to document. |
| Processor terms and transfers | Sub-processor locations vary by service and cell. Confirm the DPA, transfer mechanism and current sub-processor list with Okta. | No vendor processor, DPA or transfer mechanism. You are the controller, so any hosting provider you use needs its own processor terms. |
| Security of processing | Security measures are published in Okta's Trust Center. Ask which controls and reports apply to your chosen cell and service. | Hardening, patching, backups and database choice are yours. Keycloak needs a supported relational database in production. |
| Access control and MFA | Starter includes SSO and MFA; Essentials adds Adaptive MFA; Access Gateway protects on-premises apps behind your firewall. | Supports OIDC, OAuth 2.0, SAML 2.0 and fine-grained authorization. Confirm the MFA methods your version offers in its administration guide. |
| Audit logs | Okta documents a System Log that can be queried. Confirm retention periods and export options for your EU records. | Event retention is set in your own deployment. Confirm how long events are kept and who can read admin events. |
| Breach notification | Notification duties are set in the contract and DPA. Ask Okta for its commitments and named contacts before go-live. | You are the controller, so the notification duties in Articles 33 and 34 sit with your team. No vendor is in the notification chain. |
| Exit | Confirm data return, deletion and export terms in the contract, and how user records leave Okta. | Users and configuration sit in the database you operate, so exit and deletion are steps your team runs and records. |
Where identity data flows and where the trust boundary sits
The diagram starts with a user signing in to an application outside your boundary. The application sends the login to Keycloak inside your EU infrastructure, and Keycloak stores its identity records in PostgreSQL in the same boundary. Attributes from your Active Directory or LDAP source sync into Keycloak across the boundary edge. A brokered login to an external identity provider leaves the boundary for a separate processor box. The Okta branch sits outside the boundary in a cloud cell, and you need to confirm its location with Okta before you rely on it. Check every arrow that crosses the boundary, because that is where personal data changes hands.
Identity flows across the Keycloak trust boundary and the Okta alternative.
Why Okta's EU processing location must be settled in writing
Okta's EU processing location has to be confirmed in writing before you treat it as settled. The Okta data residency page lists cells in the US, EMEA, Japan, Australia, Canada and India, and it does not name an EU location. It also states that the location where sub-processors process data can vary with the service and the cell you select. For a GDPR assessment, ask which cell would hold your tenant, where each service in your order form processes personal data, and which sub-processors handle it at each step. Record the answers in the contract, since a web page can change without notice and an assessor will want the commitment itself.
Two components sit on the data path and need their own questions. The Okta Active Directory integration agent runs on your own servers, so ask which directory attributes leave your network and how often they are sent to Okta-hosted services. Okta Access Gateway is a reverse proxy deployed behind your firewall that protects on-premises apps without federation support, using HTTP headers, Kerberos tokens and URL-based authentication. Ask which of those authentication artifacts and session data still reach Okta-hosted services, and in which location they are processed. Your data protection impact assessment should record the answer for each component separately, because a self-hosted Keycloak deployment has no vendor processor in these flows.
Cost depends on the same answers. Okta sells Workforce Identity suites per user per month, billed annually, with a $1,500 annual contract minimum, according to its pricing page. Access Gateway is included in the Enterprise suite, so if your required data path depends on it, the per-user cost follows that tier, and the annual minimum applies regardless of how small the user count is. Ask for a written quote that names the suite, user count, billing term and any residency or DPA terms included. Before you decide, request Okta's processing location for each service, its current sub-processor list and its DPA terms, then compare them with the internal effort of running Keycloak in your own EU infrastructure.
Evidence an assessor will ask for under GDPR
With Okta, most of the evidence is held by Okta and reached through its documentation and your contract. The data residency page lists cells in the US, EMEA, Japan, Australia, Canada and India and names no EU location, so your first record is the cell your tenant uses.
- Location evidence: Save your tenant's cell assignment and a dated copy of the Okta data residency page. Ask Okta in writing where each service you use processes your data.
- Sub-processors and transfer terms: Request the current sub-processor list and data processing terms through the Okta Security Trust Center. Record the transfer mechanism that applies to your cell.
- Processing description: Use the Okta privacy policy as the published description of processing, check it against your contract, and note its version and date.
- Audit log samples: Write queries against the System Log query reference for admin changes, sign-ins and policy events. Export samples for the assessor's period and keep each query beside its export.
- Change records: Keep Okta's change notices alongside your own log of policy, app assignment and admin role changes, each with a review date.
Before the assessment, confirm that the cell, sub-processor list and transfer terms in your file match what Okta's current pages and your contract say.
With Keycloak, the operator produces the evidence because the operator runs the server. Keycloak is Apache-2.0 and self-hosted, so identity data stays wherever you run it, and there is no vendor processor, DPA or transfer mechanism for the identity service itself.
- Location evidence: Record the region or data center of each Keycloak node and of the database. Production needs a relational database such as PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database or Amazon Aurora PostgreSQL, and the database host is the key location record. See the Keycloak database guide.
- Configuration records: Export realm settings, brokered identity providers, LDAP federation settings and admin role assignments as described in the Keycloak Server Administration Guide for your version, and keep the exports in version control.
- Log records: Keep event and admin logs in storage you control, and document the retention and forwarding settings for the version you run. An assessor may ask for samples from a stated period.
- Release and upgrade records: Log each upgrade with the release notes you reviewed. The current release is 26.8.1, published October 13, 2026, and the project plans four minor releases a year with opt-in breaking changes. Track releases on the Keycloak GitHub releases page.
- Operator records: If you run on Kubernetes, keep the install method and manifests from the Keycloak Operator installation guide as configuration evidence.
Before the assessment, check that every record names the same database host, region and release, because an assessor will compare them.
Some records are yours under GDPR whichever platform you choose. Chapter IV (Articles 24 to 43) sets controller and processor duties, including security of processing under Article 32 and breach notification under Articles 33 and 34. Chapter V (Articles 44 to 50) governs transfers to third countries, and national supervisory authorities enforce these rules under Article 51.
- Processing records: Describe identity processing: who the users are (staff, customers, contractors), why you hold their data, who receives it and how long it stays. List Okta or your Keycloak hosting providers as recipients or processors according to your contract.
- Breach runbook: Write steps for identity compromise, such as stolen credentials, admin account misuse or leaked tokens, and tie them to the duties in Articles 33 and 34. Name who pulls Okta System Log evidence or Keycloak server logs during an incident.
- Access reviews: Review who holds realm admin, Okta super admin, and cloud or database administrator roles, and sign each review with its date.
- Transfer assessment: Where a sub-processor or cell outside the EU processes personal data, record the transfer mechanism you rely on under Chapter V. For Keycloak, the question is where you host, so record the same facts for your own cloud account.
- Change approvals: Link each change ticket to the upgrade and configuration evidence in the other tabs so the chain can be traced.
Ask your data protection officer or counsel which of these records a supervisory authority would expect for your processing, since the answer depends on your processing and jurisdiction.
What self-hosting Keycloak makes you responsible for
Self-hosting Keycloak keeps user and identity data in the location where your organization runs it, and that makes your organization the controller for that data. For the server itself, there is no vendor processor, data processing agreement or transfer mechanism to negotiate. The duties do not disappear, though. Article 32 security of processing, breach notification under Articles 33 and 34, and the records your processing activities require all sit with your team. Ask who holds administrative access to the database, the hosts and the Keycloak admin console, where backups are stored and which regions they replicate to, and who starts the breach assessment when an alert fires overnight. Those answers become the first evidence an assessor reads.
Your database choice decides where identity records physically sit, so it belongs in the residency review. Keycloak needs a relational database in production and supports PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. The default dev-file database is not suitable for production, so confirm that no environment holding real user data, including staging copies, runs on it. If you choose Amazon Aurora PostgreSQL, the cloud region and any read replicas become part of the residency decision and should be pinned to EU locations. Check your version against the Keycloak database guide before you commit to a design.
Federation and brokering move part of the identity picture to systems you may not operate. Keycloak can read users from LDAP or Active Directory, so passwords and directory records stay in your own network, and the residency review must cover where those directory servers and domain controllers run. Brokering logins to an external OpenID Connect or SAML identity provider is different. That provider holds the account and authenticates the person, so it is a separate processor relationship. Before you broker, obtain its data location, sub-processor list and data processing terms, and confirm which attributes Keycloak imports and keeps locally. Record each brokered provider as its own entry in your records of processing.
Setting up Keycloak so an assessor can review it
This sequence turns a Keycloak deployment into something an assessor can trace: where identity data lives, who administers it, how events are kept, and whether a restore has been proven inside the EU. Each step ends with a record you can hand over. The order matters because later steps depend on the database and location decisions made first.
Record processing and data location first
Before any server is built, document what identity data Keycloak will hold, such as user profiles, group memberships, credentials, sessions and event records, and where each one is stored and processed. List every location: the cluster or virtual machines, the database, backups, the log platform and any remote support path. Because self-hosted Keycloak has no vendor processor, your organization is the controller, so the data protection lead signs off the record. Done when a data flow diagram names an EU location for every store.
Choose an EU database from the supported list
Keycloak needs a relational database in production. The supported list covers PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL, and you should check the Keycloak database guide for the current entries before you choose. Deploy the database in an EU region or EU data center. For a managed service, ask the provider in writing which region holds the primary data, replicas and snapshots. The default dev-file database is not suitable for production. Done when the engine, version, host and region are recorded and a test connection succeeds from the EU deployment.
Deploy from the Operator or server distribution
Choose one route and record it. On Kubernetes or OpenShift, install the Keycloak Operator through the Operator Lifecycle Manager, which Keycloak recommends, or with kubectl. On virtual machines, deploy the server distribution. Pin the version you test, which for new deployments is the current release, 26.8.1, published October 13, 2026, and keep manifests or configuration in version control. Confirm the database connection in the deployment configuration. Done when the running version and the EU cluster or host names appear in the change record.
Restrict administrator access to the console
Limit who can change realms, clients and identity providers. Create named administrator accounts rather than sharing one, require multi-factor authentication for them, and keep the admin console and management endpoints off the public network. Grant administrative roles per realm where your model allows it. Confirm these settings against the Keycloak Server Administration Guide for your version before you rely on them. Done when an export of administrator accounts and roles, plus the network rule set, shows that only named staff on approved networks can reach the console.
Enable event logging and export it
Turn on user event and admin event logging, choose the event types you need for access reviews and incident response, and export them to your log platform. Set the export target to an EU-hosted instance and confirm that each event carries a timestamp and the realm and client identifiers you need. Event configuration varies by version and listener, so test each event type before you rely on it. Done when a test login and a test admin change both appear in the EU log platform with the expected fields.
Set backup and retention in the EU
Configure database backups and exported logs to be stored in EU regions only, and set retention periods from your own policy. Restrict who can read backups, since they contain credentials and personal data. Ask each backup provider to confirm in writing where copies, replicas and deleted-snapshot copies are held. Done when the backup job configuration, the storage locations and the written retention schedule all match each other and the processing record from the first step.
Test a restore inside the EU
Restore the latest backup into a separate EU environment and confirm that realms, clients, identity provider links and a test user login all work. Record each step as you go, so someone other than the author can repeat the procedure. Keep the restored copy inside the same EU boundary and remove it afterward under your retention rules. Done when a signed test record shows the date, the backup used, the checks run and the result.
Plan upgrades around the minor release cadence
Since Keycloak 26.0, the project plans four minor releases a year and a major release every two to three years, and says breaking changes in a minor release will be opt-in. Schedule a staging upgrade for each minor release, read its release notes, and rerun the login and restore tests from the previous step against the new version. Keep each upgrade record with the version and test results, so an assessor can see how patching was handled. Done when the staging results and the change approval for each minor upgrade are filed.
Questions buyers ask before bringing in help
How much effort does self-hosting Keycloak actually take?
Self-hosting effort depends mostly on the database, the deployment target and how much availability you need. The main drivers are:
- The production database: Keycloak needs a relational database, and the supported list includes PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. Your team owns its backups, patching and failover.
- The deployment target: the Keycloak Operator on Kubernetes or OpenShift, or the server on virtual machines, each with its own platform skills.
- Upgrades: Keycloak plans four minor releases a year, so patching is a recurring task.
- Availability, TLS, monitoring and log retention inside your own network.
The Apache-2.0 license carries no license fee, so the cost is mainly staff time and infrastructure, and most of it recurs. Ask your team to estimate those hours against the written scope before comparing them with a subscription.
How does Okta's per user per month pricing work?
Okta sells Workforce Identity suites priced per user per month, billed annually, with a $1,500 annual contract minimum, according to Okta's pricing page. The suite tier sets what you get: Starter includes Single Sign-On, Multi-Factor Authentication and Universal Directory; Essentials adds Adaptive MFA, Lifecycle Management and Access Governance; Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. The minimum only matters when your seat count multiplied by the per-user rate falls below $1,500. The main cost drivers are headcount in scope, suite tier, add-ons and contract term, and these recur every year. Keycloak has no per-user license fee, so compare Okta's subscription with your staff time, hosting and support for Keycloak. Ask Okta for a written quote showing the user count, suite, term and the cell that would host your tenant.
What skills does a team need to run Keycloak in production?
The team needs platform skills for the runtime, database skills for the data layer and security skills for the identity service itself. On the platform side, that means operating either Kubernetes with the Keycloak Operator, installed through the Operator Lifecycle Manager or kubectl, or virtual machines with a load balancer in front. On the database side, someone must handle backups, restores, connection limits, replication or failover, and major version patching for the engine you choose. On the security side, the team needs to configure OpenID Connect, OAuth 2.0 and SAML 2.0 clients correctly, manage TLS and secrets, lock down the admin console, and review the audit logs. Identify a named owner for each area and an on-call path before go-live. If your team lacks one of these skills, the gap is a scope question to settle in writing before the engagement starts.
How long does a fixed-scope Keycloak engagement take?
The duration depends on the written scope, so there is no standard timeline to quote. DeployOpen agrees scope, deliverables and timelines in writing before work starts. The factors that move the timeline most are the number of applications and protocols to connect, whether you need LDAP or Active Directory federation or brokering to an external identity provider, the number of environments, the EU hosting approvals your organization requires, any user data migration, and the testing and handover you need. Ongoing support, upgrades and continuous testing are separate retainers, so they will appear in the quote as a recurring line rather than as part of the initial build. Ask for the timeline, its assumptions and the dependencies on your side to be written into the scope document.
Does DeployOpen certify GDPR compliance for our identity platform?
No. DeployOpen does not issue audit reports, attestations or certifications, and independent auditors and certification bodies provide those. What DeployOpen does is plan, implement and document the self-hosted identity platform inside your infrastructure, and prepare the systems, controls and evidence that your compliance team and data protection officer will review. Under the GDPR, the controller carries the obligations for processing, including security of processing under Article 32 and breach notification under Articles 33 and 34. Your organization decides on the lawful basis, retention and transfer approach, and the Regulation itself is the reference for those duties. Read the text of the GDPR on EUR-Lex before you define the scope, and confirm with your legal counsel which evidence your supervisory authority or customers expect.
Will Okta sign a data processing agreement covering EU personal data?
Confirm this with Okta in writing before you rely on it. Okta's data residency page lists cells in the US, EMEA, Japan, Australia, Canada and India, and it does not name a specific EU location. The same page states that the location where Okta's sub-processors process data can vary with the service and the cell you select. Ask Okta which cell would host your tenant, whether it will sign processing terms covering EU personal data, the current sub-processor list with processing locations, and the transfer mechanism for any access from outside the EU. With Keycloak, the operator runs the service in its own location, so there is no vendor processor and no DPA to negotiate. Get Okta's answers in the form of signed contract terms, not sales material.
Does brokering logins to another identity provider change where personal data is processed?
It can. Keycloak can broker logins to external OpenID Connect or SAML identity providers, and each one you add becomes a point in the data flow. The upstream provider receives the authentication request, may hold the user record and its logs, and may process data in a location you did not choose. Before you connect one, map its processing location, its processor terms, its retention settings and its sub-processors, and record them in your processing inventory. Federating from an LDAP or Active Directory directory keeps the directory under your control, but Keycloak still processes session and token data on your side. If you broker to Okta or any other hosted provider, treat that provider as a separate processor with its own answers to the questions above.
How DeployOpen helps with GDPR readiness without favoring either platform
DeployOpen approaches Okta vs Keycloak for GDPR and EU data residency by first fixing the facts each side leaves open, then building and documenting the evidence your controller duties require. Keycloak is self-hosted in your infrastructure, so the operator carries the controller role, while Okta's processing locations can vary with the cell and sub-processors you select. Work is fixed-scope, with the scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Written scope names the Okta contract, cell and sub-processor terms we need to confirm for your EU data.
- Scope records where Keycloak would run, including the cloud account, data center or air-gapped network that holds identity data.
- Engagements are fixed-scope, and the scope, deliverables and timelines are agreed in writing before work starts.
How we build
- Deploy Keycloak in your infrastructure with PostgreSQL 14 to 18, placing the database where your residency rules require.
- Configure SSO, access control, audit logging and data handling controls so your compliance team can review the setup.
- For the Okta option, we document what its published pages state and what they leave open for your contract review.
How we hand over
- Deliver a written record of where identity data lives, which processor terms apply and which controller duties stay with you.
- Hand over configuration, runbooks and backup and upgrade procedures so your operators can run Keycloak after handover.
- Assemble the evidence an assessor will ask for, such as configuration records, access settings and audit log samples.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, scoped separately from the build.
- Keycloak plans four minor releases a year, so the retainer should set a patch and upgrade calendar.
- Ask for retainer terms, response expectations and retest scope in writing before you sign.

