Okta vs Keycloak for PCI DSS

Okta is a vendor-run identity service with a PCI DSS entry in its Trust Center, while Keycloak is open source that you run and evidence yourself. This page covers only the PCI DSS question; the general Okta vs Keycloak comparison is on its own page.

On this page

Okta vs Keycloak for PCI DSS: which side fits which cardholder environment

Choose Okta when you want a vendor-operated identity service that you can document through its Trust Center. Choose Keycloak when identity must stay inside your own network and you have platform staff to own MFA, logging, patching and every evidence item. The decision turns on three questions: whether the identity platform falls inside cardholder data environment scope, how much of the evidence your assessor will accept from a vendor, and how much capacity your team has to run the platform. This page covers the PCI DSS question only. The general comparison sits on its own page, and neither product makes an organization compliant.

Okta's Okta Security Trust Center lists PCI DSS v4.0.0 among its certifications and includes a PCI DSS document in its gated documents. Before you rely on that listing, ask Okta which version the current listing covers, because PCI DSS v4.0 was retired on 31 December 2024 and v4.0.1 is now the only active version. Request the responsibility information that applies to the services you will use, and confirm which cell and sub-processors handle your users' data, since Okta states that sub-processor processing locations can vary with the service and cell you select. Then confirm with your assessor which of the identity platform's requirements the vendor evidence covers, and which configuration evidence your team must still produce itself.

Keycloak keeps the identity platform entirely inside your boundary, which makes scoping the first task. An SSO server that authenticates administrators or users into systems that handle cardholder data could affect the security of that environment, so plan to treat it as in scope and confirm that view with your assessor. Keycloak's documented MFA options, brute force lockout and per-realm TLS settings can support the access control and transmission security requirements, but the project publishes no PCI DSS attestation, so you own every evidence item. Budget for a production relational database (PostgreSQL 14 to 18 is supported, and the default dev-file database is not suitable for production), centralized log retention, and a patch routine that keeps pace with the project's plan of four minor releases a year.

Where each identity path meets the cardholder data environment

The diagram starts with users and administrators signing in through one of two paths. The Okta path runs through a cloud cell that Okta operates, and the location of processing by its sub-processors can vary with the service and cell selected, so confirm that in writing. The Keycloak path runs on servers in the organization's own network, where the operator owns the relational database and the TLS settings for each realm. Both paths hand SSO tokens to applications inside the cardholder data environment, which is the boundary the assessor will test. Check that both identity paths send their logs to the log platform and that the exports reach the evidence folder.

Both sign-in paths reach cardholder applications, with logs and evidence leaving the boundary.

What PCI DSS asks of the identity and SSO layer

Treat your identity and SSO platform as in scope until your assessor tells you otherwise. PCI DSS applies to entities that store, process or transmit cardholder data or sensitive authentication data, and to entities whose systems could affect the security of the cardholder data environment (CDE). An SSO server that issues logins for payment applications, admin consoles and jump hosts often meets that second test, so plan on it being in scope and confirm the boundary early. The PCI SSC's PCI DSS page explains who the standard covers. Version v4.0.1 is the only active version, published on 11 June 2024 as a limited revision of v4.0 with no requirements added or removed. Ask your assessor which version and scope statement they will use.

Five requirement areas usually reach the identity layer. The first covers identifying users and authenticating them before access is granted, which in practice means password rules, account lockout after repeated failures and session timeouts in Keycloak or Okta. The second covers multi-factor authentication for access into the CDE, so list every admin console, VPN path and payment application login and confirm each one requires a second factor through the same SSO flow. The third covers restricting access by role and business need to know, which maps to Keycloak realm roles and groups or Okta group rules. Map each area to its requirement numbers in your own copy of v4.0.1, because those numbers are what your assessor will cite.

The fourth area covers logging access and changes to access controls. Confirm that login events, role changes and admin actions reach your log platform with enough detail for review, and set retention to match what your assessor expects. Test this with a deliberate privileged role change, then check the entry. The fifth covers protecting cardholder data in transit over open networks, which for an identity platform means TLS on browser, token and back-channel connections, plus per-realm TLS settings in Keycloak. Okta's Security Trust Center lists PCI DSS v4.0.0, a version now retired, so ask Okta whether its evidence covers v4.0.1. Keycloak publishes no attestation, so the operator carries that evidence.

How Okta and Keycloak each document the PCI DSS identity controls

This table sets out what each vendor documents for the identity controls a PCI DSS assessment usually asks about, and where the remaining evidence has to come from your own environment. Read the Okta column as documentation for a service Okta operates, and the Keycloak column as features you configure and scope yourself. The main takeaway is that Okta publishes a PCI DSS listing and gated document to request, while with Keycloak the assessor tests your deployment because the project publishes no attestation.

Requirement areaOkta as documentedKeycloak as documented
Multi-factor authenticationMFA is included in the Starter suite and Adaptive MFA in Essentials, per the Okta pricing page. Confirm which factors and policies your PCI DSS scope needs.Documented MFA options can support the access control requirement. Confirm which options you enable and how you enforce them in the Keycloak Server Administration Guide.
Access control and admin rolesAccess Gateway is a reverse proxy behind your firewall for on-premises apps without federation support. Confirm the admin role model and how admin actions are logged.The admin console and fine-grained authorization services are documented. You define admin accounts, roles and realm boundaries, so confirm that design against the server guide.
Brute force or lockoutConfirm the lockout behavior and its settings with Okta before you cite them in a report.Brute force lockout is a documented feature. Confirm the thresholds and wait behavior you configure for each realm before you cite them to an assessor.
TLS and transmission securityConfirm supported TLS versions and cipher policy for your cell using Okta's trust documentation, including traffic through Access Gateway.Per-realm TLS settings are documented. Confirm each realm's setting and test the TLS versions your ingress accepts.
Audit logging and log accessThe System Log query reference documents how to query events. Confirm log retention periods and export options with Okta before you rely on them.Event logging is configured by the operator. Confirm which events are recorded by default and how long logs are kept, using the server administration guide.
Data location and sub-processorsCells are located in the US, EMEA, Japan, Australia, Canada and India. Sub-processor processing location can vary by service and cell, so confirm it for your contract.Realm data stays in the database and infrastructure you deploy. Confirm the location of any hosting or support provider you add.
Vendor's own attestationOkta's Trust Center lists PCI DSS v4.0.0, and a PCI DSS document is available in its gated documents. PCI DSS v4.0.1 is the only active version, so ask Okta which version the listing covers.The project publishes no PCI DSS attestation. The operator carries scope for the identity stack, so the assessment covers your deployment.

Who carries which PCI DSS control under Okta and under Keycloak

Under PCI DSS, the assessed organization stays responsible for its cardholder data environment whichever identity platform it picks. With Okta, the vendor carries the cloud service and documents its certification status, while the organization configures and evidences access. With Keycloak, the project supplies software features and releases, and the organization operates every layer beneath them.

What Okta covers as vendor

Okta's Trust Center lists PCI DSS v4.0.0 among its certifications and includes a gated PCI DSS document that you request before scoping. Okta runs the service in cells located across the US, EMEA, Japan, Australia, Canada and India, and says sub-processor processing locations can vary with the service and cell you select. Ask which cell and sub-processors apply to your tenant, and confirm the document covers the version your assessor accepts, since PCI DSS v4.0.1 is the only active version.

Okta Trust Center

What you configure on Okta

MFA and policy settings remain your responsibility. MFA is included in the Starter suite and adaptive MFA sits in Essentials, so confirm which suite you buy before you design your policies. Record who holds each admin role, review app assignments on a schedule, and export System Log events to storage you control. Then map which apps and admin paths touch the cardholder data environment and confirm that Okta's scope matches that map.

Okta pricing

What the Keycloak project provides

Keycloak's documentation covers MFA options, brute force lockout and per-realm TLS settings, which can support PCI DSS access control and transmission security requirements. The Keycloak Operator for Kubernetes and OpenShift installs through Operator Lifecycle Manager or kubectl, and each release is one you will need to test and apply. The project publishes no PCI DSS attestation, so each setting you rely on needs evidence from your own configuration and test records.

Keycloak server docs

What you run on Keycloak

You host Keycloak and choose a production database from the supported list, including PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database and Amazon Aurora PostgreSQL. You also manage TLS certificates, patch on the cadence of four minor releases a year that the project plans, and own backups and log retention. Every attestation-style record, from change logs to access reviews, is yours to produce, since the project does not issue one. The file-based dev database is not suitable for production.

Keycloak database guide

What PCI DSS v4.0.1 changes for an identity project

PCI DSS v4.0.1 is the only active version of the standard. It was published on 11 June 2024 as a limited revision of v4.0 with no requirements added or deleted, and v4.0 was retired on 31 December 2024. v3.2.1 had already been retired on 31 March 2024. The change that matters most for identity work is in the future-dated requirements: 51 of the 64 new requirements introduced in v4.0 became effective on 31 March 2025. Before that date, teams could mark them not applicable, so an identity design written against older practice may now have gaps in areas such as multi-factor authentication, account review and logging. Review the design against the PCI SSC announcement of v4.0.1 before any assessment starts.

For the Okta side, the version question is a document request, not an assumption. Okta's Trust Center lists PCI DSS v4.0.0 among its certifications and includes a PCI DSS document in its gated documents, so the listing may not name the version your assessor will test against. Ask Okta in writing which PCI DSS version its current listing and document cover, the date of that document, and which services and cells the listing includes. Then ask whether the features your design depends on, such as MFA enforcement, session settings and System Log retention, fall inside that coverage. Confirm how long System Log events are retained in your tenant, because the assessor will ask for log evidence covering the assessment period.

For Keycloak, there is no attestation to borrow. The project publishes no PCI DSS attestation, so its MFA options, brute force lockout and per-realm TLS settings are inputs to your own control set, and you carry scope for the server, database, logs and hosting. Agree in writing with your assessor which PCI DSS v4.0.1 requirements the Keycloak controls will be mapped to, then check that the realm settings, password policy and TLS configuration you document match what those requirements ask. Record the exact Keycloak release and database version in the evidence pack. Keycloak 26.8.1 is the current release, and the project plans four minor releases a year, so the version tested should be the version in production on assessment day.

Okta vs Keycloak for PCI DSS: the evidence an assessor will request

Okta runs as a hosted service, so much of its evidence comes from Okta and is requested through its Trust Center. Okta's Trust Center lists PCI DSS v4.0.0 among its certifications and includes a PCI DSS document among its gated documents. Ask which version that document covers, which Okta services it describes, and where your tenant configuration falls within it.

  • Vendor attestation package: Request the PCI DSS document and the responsibility matrix through the Trust Center. Ask Okta to confirm which requirements it covers for the service and which remain with your organization.
  • MFA and lockout exports: Export the sign-on and authenticator policies that apply to applications in the cardholder data environment. These records describe your tenant configuration, so Okta does not generate them for you.
  • System Log samples: Show sample queries against the Okta System Log for authentication and admin events, then document how your SIEM retains and protects those events.
  • Access Gateway records: If you deploy Access Gateway behind your firewall to protect on-premises apps, its configuration, patch history and TLS settings are records your team must produce.

Before the assessment, confirm whether the attestation covers the Okta products you license and whether your configuration sits inside that boundary.

How to scope and configure the chosen side before the assessment

This sequence takes a team from a scoped cardholder environment to an evidence pack an assessor can test. Each step names who does the work, the organization or the vendor, and what must be confirmed before the next step starts. Run it on whichever side you chose, because the Okta and Keycloak steps differ in who holds configuration and proof.

  1. Confirm scope with the assessor

    The organization and its assessor agree which identity components sit inside the cardholder data environment or could affect its security. List the SSO platform, the directories it reads, admin consoles, the log pipeline and service accounts that can change access. Ask the assessor to confirm the scope in writing against PCI DSS v4.0.1, the only active version. Done when the scope note names each identity component, its data flows and who owns it.

  2. Confirm the Okta listing or Keycloak hosting

    The organization names an owner for each platform task. For Okta, confirm the service scope and PCI DSS evidence in the Okta Trust Center, which lists PCI DSS v4.0.0, and request the gated PCI DSS document. For Keycloak, decide the hosting model, who operates the Keycloak Operator (installed through the Operator Lifecycle Manager or with kubectl) and who runs the production relational database. Done when each owner is named in writing and Okta has confirmed how its v4.0.0 listing maps to v4.0.1, the only active version.

  3. Configure MFA, lockout, roles and sessions

    The team that runs the chosen platform sets the documented controls: MFA options for administrators and users, brute force lockout, role assignments, and session settings. On Keycloak, these are set per realm, and the Keycloak Server Administration Guide describes each option. On Okta, the organization sets them in the admin console and confirms which policy applies to each application. Done when a test administrator and a test user see the expected MFA prompt and lockout, session settings are confirmed, and the exported settings are filed as evidence.

  4. Set TLS and data location

    The platform team sets transport encryption and records where data is processed. On Keycloak, configure TLS per realm and keep the settings for every realm that handles cardholder-facing logins. On Okta, confirm the cell the tenant sits in and read Okta's data residency page, which states that sub-processor processing location can vary with the service and cell selected. Done when the organization holds a written record of the TLS settings and data location, and the assessor has reviewed it.

  5. Configure audit log export and retention

    The platform team enables audit event capture and exports it to the organization's central log store. On Okta, export the System Log and confirm the queries the assessor will run against the System Log query reference. On Keycloak, confirm which admin and login events are enabled and how they reach the SIEM. The policy owner sets the retention period, since retention is a policy decision the platform does not make. Done when a test admin change and a failed login appear in the central store with the expected fields.

  6. Assemble and retest the evidence pack

    The organization collects configuration exports, TLS and data location records, MFA and lockout settings, role lists, log samples and the vendor documents the team relied on, then maps each item to the requirement it supports. Retest after any fix, and file the retest result with the item it covers. DeployOpen can test the setup and prepare this evidence, but it does not issue audit reports or attestations; the assessor decides what the evidence supports. Done when every item has an owner and a passing retest or a documented exception.

Okta vs Keycloak for PCI DSS: what the work costs and who does it

How much effort does a PCI DSS identity setup take, and what drives it?

Effort depends mostly on scope: how many systems sit in the cardholder data environment, how many applications and user populations federate to the identity platform, and how many administrative paths you must control. The work usually falls into four parts: design (requirement mapping, MFA policy, lockout and session settings, admin roles), integration (each application, directory source and log feed), hardening, and evidence collection for the assessor. Each application integration adds effort, and so does any on-premises app that lacks federation support. Ask your qualified security assessor (QSA) early which systems are in scope, because scope drives every other estimate. A written scope with an application inventory is the most useful basis for comparing quotes.

Can our team run a PCI DSS identity setup without outside help?

A capable internal team can do the work if it already has skills in identity protocols, directory integration, database and platform operations, and PCI DSS evidence. The buyer-side inputs are the same either way: a named owner, a scoped system inventory, access to identity sources and target applications, change approval, a destination for logs, and time from the people who run the cardholder data environment. Both Okta and Keycloak need administrative access to configure policies. Check whether your team has been through a PCI DSS assessment before, because evidence collection is the step most often underestimated. If you buy help, ask the provider to list which tasks it performs and which stay with your staff.

What does Okta cost for a PCI DSS identity setup?

Okta sells Workforce Identity suites billed per user per month, billed annually, with a $1,500 annual contract minimum, according to Okta's pricing page. Starter includes Single Sign-On, Multi-Factor Authentication and Universal Directory, so basic MFA sits in the lowest suite. Essentials adds Adaptive MFA, Lifecycle Management and Access Governance, which you need only if you want risk-based authentication policies. Enterprise adds API Access Management, Access Gateway and machine-to-machine tokens. Confirm the current per-user rate on the pricing page or in a written quote, because the rate and user count determine the subscription total. Subscription fees recur every year. Ask whether the quote covers integration labor, sandbox tenants and the support tier you need, and who operates policies and reviews logs.

What does running Keycloak cost in components and staff time?

Keycloak is licensed under Apache-2.0, so the upstream server carries no license fee. You still pay for the components around it: compute and networking for at least one cluster, a supported production database (PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database or Amazon Aurora PostgreSQL), load balancing, backup, monitoring and staff time. Staff time is usually the largest recurring item. The project plans four minor releases a year, according to its October 2024 blog post, so budget for patch review, upgrade testing and rollback planning. Support is optional and worth buying only if your team cannot carry on-call duty or upgrade risk alone. One-time costs include design, integration, hardening and evidence. Ask any implementer for a written breakdown of which components it provisions, who patches them and who keeps the PCI DSS evidence current.

Does a PCI DSS identity setup need Okta Adaptive MFA or Access Gateway?

Not automatically. PCI DSS requires strong authentication for access into the cardholder data environment, including multi-factor authentication in defined cases, and your assessor will review how you meet it. Okta's Starter suite includes Multi-Factor Authentication, while Adaptive MFA sits in Essentials, so you need Essentials only if you want risk-based policies. Access Gateway, included in Enterprise, is a reverse proxy deployed behind your firewall for on-premises apps that lack federation support. Use it only if such apps are in scope. On the Keycloak side, its documented MFA options, brute force lockout and per-realm TLS settings can support access control and transmission security, but you own the configuration. Confirm the design with your QSA before you buy a tier.

Does DeployOpen certify our organisation for PCI DSS?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for a PCI DSS assessment, and an independent assessor decides whether your environment meets the standard. Your compliance status comes from your own assessment, not from the identity platform or from DeployOpen. Okta's Trust Center lists PCI DSS v4.0.0 among its certifications, which describes Okta's service, not your environment, so request the relevant documentation through Okta's trust process. PCI DSS v4.0.1 is the only active version, so confirm that your assessor uses it. The Keycloak project publishes no PCI DSS attestation, and the operator carries the scope. Ask any provider which evidence it will deliver, such as configuration exports, access reviews, log samples and change records.

Is a DeployOpen PCI DSS identity engagement fixed-scope?

Most DeployOpen engagements are fixed-scope, meaning scope, deliverables and timelines are agreed in writing before work starts. DeployOpen does not publish a price list, so the written scope is the basis for a quote. Ask for the scope to list the systems in scope, the identity sources and applications to integrate, the MFA and session policies to configure, the logs and evidence to deliver, and what is excluded, such as the assessment itself. Ongoing support, upgrades and continuous testing are available as retainers and are separate from the initial scope. Compare quotes line by line against the same scope document. Ask each provider what happens to the scope and the quote if your application inventory changes during the project.

How DeployOpen helps prepare PCI DSS identity evidence without favoring either platform

DeployOpen approaches Okta vs Keycloak for PCI DSS as a written scope: we map the identity controls each platform must support, configure and document them inside your environment, and prepare the evidence your assessor will request. Okta's Trust Center lists PCI DSS among its certifications, while the Keycloak project publishes no PCI DSS attestation and the operator carries that scope. We do not issue audit reports or attestations; independent assessors make that call.

How we scope

  • The written scope names each identity platform, its hosting location and the cardholder data environment systems it authenticates into.
  • Engagements are fixed-scope, so deliverables and timelines are agreed in writing before any configuration work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial scope is delivered.

How we build

  • For Keycloak, we deploy a production database, admin access controls, and the MFA, lockout and TLS settings in scope.
  • For Okta, we review tenant configuration, SSO and MFA policies, and any Access Gateway deployment within the agreed scope.
  • Both sides are tested for access control and transmission security, with logs an assessor can sample.

How we hand over

  • Handover includes configuration documentation, evidence mapping to PCI DSS v4.0.1 requirements, and operating documentation for your own team.
  • The evidence pack shows configuration and logging for each platform, but it does not replace the QSA's assessment.
  • DeployOpen prepares evidence only; audit reports, attestations and certifications come from independent auditors and certification bodies.

How we support

  • Retainers can cover upgrades, including Keycloak's planned minor releases, and continuous testing of the identity setup.
  • Keycloak plans four minor releases a year, so name who applies and retests each one in the retainer.
  • Confirm the PCI DSS listing in Okta's Trust Center covers v4.0.1, the only active version, before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.