Auth0 vs Keycloak for PCI DSS: which fits which scope
Choose on where the identity service runs and who holds the evidence. An identity provider in the access path to a cardholder data environment (CDE) is in scope for PCI DSS, because it decides who reaches the systems that store, process or transmit cardholder data. Auth0 fits a team that accepts a managed service and wants vendor documents to request. Auth0 says it offers PCI compliant environment deployment models, with an Attestation of Compliance and/or an SAQ-D available on request through its Support Center. Keycloak fits a team that must keep identity inside its own CDE and accepts carrying that scope itself, because the project publishes no PCI DSS attestation. This section covers only what the PCI DSS angle changes. The general Auth0 vs Keycloak comparison has its own page.
Three decisions drive the split. The first is where the service runs. Auth0 Private Cloud is a dedicated managed deployment on AWS or Azure for customers who need isolation or guaranteed capacity, and private deployment is an Enterprise tier feature, so a team that needs that isolation should confirm the Enterprise tier before it shortlists Auth0. The second is evidence ownership: with Keycloak, your team produces the evidence for hosts, database, logs, patching and access reviews. The third is in-house capacity, since the project plans four minor releases a year and each one needs testing in your environment. Keycloak's documented MFA options, brute force lockout and per-realm TLS settings can support access control and transmission security requirements, but you must configure them and show they are in place.
Before you shortlist either option, confirm three things in writing. Ask Auth0's Support Center which deployment model your tenant would run in, and whether the Attestation of Compliance or SAQ-D you receive covers that model and the PCI DSS version it names. PCI DSS v4.0.1 is the only active version, so a document that refers to a retired version needs follow-up. Then map the responsibilities that stay with you under either option: the CDE boundary, the administrator accounts and the network paths into the CDE. For Keycloak, plan the assessor evidence before go-live, including MFA settings, lockout settings, per-realm TLS settings, admin access logs and change records. Plan to produce your own evidence on both sides.
Where the identity platform sits decides its PCI scope
The diagram starts with users and applications sending login requests. In the Auth0 variant, those requests reach a vendor-operated tenant outside the organization's network, and the tenant's logs leave through an export path you need to confirm. In the Keycloak variant, the same requests reach a self-hosted Keycloak inside your own environment, and its logs go to your monitoring. Both variants send signed tokens to the cardholder data app inside the CDE, and both feed an evidence store that an assessor reviews. Every boundary shown is a working assumption: confirm with your assessor whether the identity platform is in scope, where the CDE line falls, and which logs and evidence it will accept.
Login and log flows for Auth0 and self-hosted Keycloak, boundaries to confirm.
What PCI DSS v4.0.1 asks of an identity and SSO platform
For an identity provider, the first decision is whether it sits in PCI DSS scope at all, and for most card environments it does. PCI DSS v4.0.1 is the only active version. It was published on 11 June 2024 as a limited revision of v4.0, which was retired on 31 December 2024, and v3.2.1 was retired on 31 March 2024. The standard applies to entities that store, process or transmit cardholder data or sensitive authentication data, and to any system that could affect the security of that cardholder data environment. An SSO platform that gates administrator access or access to payment applications sits on that path, so treat it as in scope unless your assessor agrees otherwise. Confirm the boundary with your assessor before you draw it on a network diagram. The PCI SSC announcement of v4.0.1 is the natural starting point for the version history.
The control themes that matter most for an identity platform are straightforward. Who may access covers named administrator roles, least privilege for the realms or tenants, and control over which applications can trust the platform. How identity is proven covers multi-factor authentication for access into the cardholder environment, with the factor policy enforced in the platform itself and written into your runbook. Repeated failed logins need lockout or throttling with thresholds you can show. Encryption in transit means TLS on every login, token and administrative endpoint. Logging means authentication and administrative events are retained and reviewed. Change control covers who may alter realms, clients, identity brokering, MFA settings and tenant configuration, and how each change is approved and recorded.
Auth0 vs Keycloak for PCI DSS: how each side meets it as documented
This table sets Auth0 and Keycloak side by side across the identity areas a PCI DSS assessor will examine: attestation, hosting, access control, lockout, transmission security, logging and responsibility. Read each row as what is documented and what you still have to confirm, since a documented feature does not prove a validated control. The main takeaway is that Auth0 offers attestation material on request, while Keycloak leaves the full scope and its evidence with your team.
| Requirement area | Auth0 | Keycloak |
|---|---|---|
| Attestation | Documents PCI compliant deployment models. Attestation of Compliance and/or SAQ-D available on request through the Support Center. | The project publishes no PCI DSS attestation. Your organization carries the scope and must produce its own evidence. |
| Deployment model and data location | Offers PCI compliant deployment models, plus Private Cloud on AWS or Azure. Confirm with Auth0 which model covers your data region. | Self-hosted in your cloud, data center or network. Production needs a supported relational database, so confirm where it runs with your platform team. |
| Access control and MFA | Confirm the MFA factors, admin roles and tenant access controls your tenant uses with Auth0 and in your own configuration. | Documented MFA options are available. Confirm which factors each realm enforces with your security team. |
| Account lockout | Confirm brute force protection and lockout thresholds for your tenant with Auth0 before relying on them. | Brute force lockout is documented. Confirm thresholds and lockout duration in realm settings with your security team. |
| Transmission security | Confirm TLS versions and cipher settings for your PCI compliant model with Auth0, and request them in the attestation package. | TLS settings are configured per realm. Confirm protocol versions, certificates and proxy termination with your platform team and assessor. |
| Logging | Log and log retention pages describe available logs. Confirm retention period and export options with Auth0 before assessment. | Event configuration is covered in the server administration guide. Your team sets event types, retention and export to your log store. |
| Responsibility matrix | Auth0 runs the managed service. Confirm in writing which controls its attestation covers and which fall to you. | You own the full stack and its scope. Document each control owner in writing before the assessment begins. |
The evidence a PCI DSS assessor asks for from each side
Auth0 is a vendor-operated service, so much of the evidence about the platform itself comes from Auth0. Auth0's documentation says an Attestation of Compliance and/or an SAQ-D is available on request through the Support Center, and that is the first document to ask for. Your team still produces the evidence about how the tenant is configured and how logs are kept.
- Attestation of Compliance and/or SAQ-D: Request it through the Support Center and check its date and scope statement against the environment you plan to use. A document dated outside your assessment window, or scoped to a different deployment model, does not cover your tenant.
- Deployment model and scope: Record which PCI-compliant environment deployment model your tenant uses. Confirm in writing with Auth0 which services fall inside the attested scope.
- Tenant configuration exports: Export and date the settings for MFA policies, brute force protection, session lifetimes and connections, so the assessor can see the state at each review.
- Log retention settings: Document the retention period that applies to your plan and the export path to your SIEM. Auth0's log data retention documentation explains what the platform keeps.
Check that the attestation names the Auth0 offering you bought, that its period covers your assessment, and that your own exports show the same settings the attestation describes.
Keycloak is open source and the project publishes no PCI DSS attestation, so there is no vendor report to hand the assessor. The evidence comes from your own deployment: realm settings, version history, and database and logging records that show what ran and when. Keycloak's documented MFA options, brute force lockout and per-realm TLS settings are the controls you will need to show in those records.
- Realm configuration exports: Export the MFA, brute force lockout and TLS settings for each realm, and keep dated copies after every change so states can be compared over time.
- Version and patch records: Record the deployed version against its release line. The current release is 26.8.1, published October 13, 2026. Document the decision and date for each minor release you apply.
- Database and backup records: Production needs a relational database (PostgreSQL 14 to 18, MariaDB, MySQL, Microsoft SQL Server, Oracle Database or Amazon Aurora PostgreSQL). Keep the database version, backup schedule and restore test results.
- Event logging configuration: Keep the event logging settings, the destination of login and admin events, and proof that the logs reach your central store.
- Responsibility matrix: Because no vendor attestation exists, write down which controls Keycloak supplies, which the platform team operates and which application teams own, then get it signed off.
Confirm each exported setting against the control it is meant to support, and ask your assessor which export format and retention period they will accept.
Whichever platform you choose, the assessor reviews the same body of evidence about the cardholder data environment and how identity fits into it. DeployOpen prepares these artifacts, including the systems, controls and records an assessment needs. DeployOpen does not issue reports, attestations or certifications; an independent assessor makes that determination.
- Data flow diagram: Show where cardholder and authentication data move between users, the identity platform, applications and databases, including every external identity provider.
- Scope and network segmentation records: Show which identity components sit inside the cardholder data environment and how network access to them is restricted.
- Access review records: Keep dated reviews of who holds administrative roles in the identity platform and in each realm or tenant, with approvals and removals.
- Change records and identity test results: Keep tickets for configuration and version changes, plus test results for MFA enrollment, lockout behavior and TLS settings.
- Responsibility matrix: Map each relevant control to the party that operates it and to where its evidence is stored. Have the assessor review it before fieldwork begins.
Ask your assessor which artifacts they want, in what format and for what period, and agree the scope boundary before you collect anything.
How to set up either side for a PCI DSS assessment
The sequence fixes the scope with the assessor first, then sets up identity controls and evidence on each side. Auth0 work is mostly contract, configuration and evidence requests, while Keycloak work also covers hosting, database, version control and patching, and the result is a set of records an assessor can test.
Confirm the in-scope boundary with the assessor
Before any configuration, agree in writing with your assessor which systems sit in the cardholder data environment and which only connect to it. For Auth0, list the tenants, applications, custom domains and any log exports that touch cardholder flows. For Keycloak, list every realm, the hosts, the database, the load balancer and the admin consoles that will be in scope. Ask the assessor whether they expect the identity provider itself to be in scope or only the applications that rely on it. The step closes when the assessor has accepted a written scope statement that both sides can point to later.
Choose the deployment model for each side
Auth0 offers PCI compliant environment deployment models, so this decision is mostly contractual: pick the model that matches your data flows and confirm it in writing. Its Private Cloud is a dedicated managed deployment on AWS or Azure for customers who need isolation or guaranteed capacity, and a private deployment add-on is listed as Enterprise only. On the Keycloak side you choose the hosting yourself, either on Kubernetes with the Keycloak Operator or from the server distribution on virtual machines, inside your cloud account, data center or air-gapped network. The step closes with a written deployment record naming the hosting location, the model and who operates it.
Choose a production database for Keycloak
This step applies only to the Keycloak side, because Auth0 operates its own data layer. Keycloak needs a relational database in production, and the documented options are 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 keep it out of any environment that handles cardholder data. Record the engine and exact version, the backup and encryption settings, and who holds the database administrator role, because each one shows up in access and change-control testing. The step closes when the engine and version appear on the supported list and in your scope statement.
Configure MFA, lockout and per-realm TLS
On the Keycloak side, set the MFA options, brute force lockout and TLS settings for each realm, which the project documents as supporting PCI DSS access control and transmission-security requirements. On the Auth0 side, the work is configuration in your tenant plus confirming with Auth0 which MFA and lockout controls your plan includes. Test each setting with a test account: repeated failed passwords should trigger lockout, and a plain HTTP request to each realm endpoint should fail. Keycloak publishes no PCI DSS attestation for these settings, so the record you keep is the exported configuration and the test results.
Route identity logs to your monitoring
Send authentication, administrative and configuration change events from both sides to the monitoring your organization runs. For Auth0, confirm what the logs record, how long Auth0 retains them and how you export them. For Keycloak, enable the event and admin event logging in the server administration settings and forward those events to your log platform. Put the retention period for each side in writing with the assessor. The step closes when a test login, a failed login and an admin change each appear in your monitoring with a timestamp and a user identifier.
Set a patch plan that tracks minor releases
Keycloak plans four minor releases a year and says breaking changes in a minor release are opt-in, so your team needs a named owner who reads each release notes, tests it in a non-production environment and schedules the upgrade. The current release is 26.8.1, published October 13, 2026, so use it as the baseline for the first plan and record the version in your scope statement. On the Auth0 side, Auth0 operates the platform, so confirm with Auth0 how and when platform changes reach you, and plan your own testing for integrations and SDKs. The step closes with a written patch calendar, a tested rollback path for Keycloak and the date of the last applied release on file.
File the evidence an assessor will test
Gather the evidence into one index keyed to each requirement the assessor selects. For Auth0, request the Attestation of Compliance and/or SAQ-D through the Support Center, and check that the document covers the deployment model you chose. For Keycloak, the project publishes no PCI DSS attestation, so the evidence is your own: configuration exports, release and patch records, database settings, log samples and access reviews. DeployOpen can prepare systems, controls and evidence for an assessment, but the assessor or certification body reaches the conclusion. The step closes when the assessor confirms the index is complete for the scope statement.
What the PCI DSS work adds to cost on each side
On Auth0, the largest recurring cost is the plan, and the plan is sized by monthly active users: non-internal users who authenticated during a month for a given tenant. Measure your own sign-in counts per tenant against that definition before requesting a quote. Two plan decisions change the bill. Custom database connections start on the Professional plan, so keeping an existing user store in your own database sets a minimum tier. Private deployment is an Enterprise-only add-on, and Auth0 Private Cloud is the dedicated option on AWS or Azure for isolation or guaranteed capacity. Scoping, tenant configuration and the first evidence set are one-time work; plan fees recur for as long as the tenant runs.
Keycloak carries no per-user license fee because it is Apache-2.0 software, so its cost sits in the surrounding work and infrastructure. The one-time work is the production build: servers, a supported relational database (PostgreSQL 14 to 18 is one of the listed options, and the development file database is not suited to production), load balancing, and hardening of realms, MFA and TLS settings against your control set. The recurring work is staff skills, patching across releases (the project plans four minor releases a year), log review, and assessor time on each cycle. Costs rise with the number of environments in scope, the database you choose and the number of people who must patch it. A support contract is bought separately if you want one, so confirm what it covers, who operates the database and which database versions it supports.
Both sides keep a body of work with your own staff. Your responsibility matrix, access reviews, log review and the evidence set for each assessment cycle stay with you, and the assessor sets the assessment cycle. Auth0 makes its Attestation of Compliance or SAQ-D available on request through its Support Center. Keycloak's documented MFA, brute force lockout and per-realm TLS settings can support the controls, but the project publishes no PCI DSS attestation and the operator carries scope. Budget staff time for the matrix and evidence on both sides as a recurring line item. In any written quote, ask for the plan tier and MAU basis, the deployment model and add-ons, whether the attestation is included, database support, patch responsibilities, and who prepares the evidence.
Questions buyers ask before hiring help for PCI DSS identity work
Does Auth0 remove our PCI DSS obligations if we use it for login?
No. Using Auth0 does not transfer your PCI DSS obligations to Auth0, because your organization still owns its cardholder data environment scope and its responsibility matrix, which assigns each control to either the provider or you. Auth0's documentation says it offers PCI compliant environment deployment models, with an Attestation of Compliance and/or SAQ-D available on request through its Support Center. Read that document as evidence for the provider's side only. Ask your assessor to confirm which services it covers and whether that matches the deployment model you buy. Your team still configures MFA, session limits, log retention and access reviews inside your own tenant, and those settings stay in your assessment.
Can Keycloak be called PCI DSS compliant on its own?
Keycloak cannot be called PCI DSS compliant on its own, because the project publishes no PCI DSS attestation. Compliance is judged for your environment as a whole, through your own assessment and your assessor's review. Keycloak's documented MFA options, brute force lockout and per-realm TLS settings can support the access control and transmission security requirements, but only if you configure them, keep them consistent across realms, and show they operate. The organization running Keycloak carries the scope, so the database, load balancer, admin console access and the hosts running Keycloak all need a position in your scope statement. Assess against PCI DSS v4.0.1, the only active version according to the PCI Security Standards Council. Confirm each setting with your assessor before you rely on a default value.
What makes a PCI DSS identity project cost more or take longer?
Effort depends on four things: scope, deployment model, the monitoring you already run, and the number of applications and realms or tenants. Scope is the largest driver, because every system that stores, processes or transmits cardholder data, or could affect that environment, needs a documented in or out decision.
- Deployment model: managed Auth0 generally moves some platform operations to the vendor, while self-hosted Keycloak leaves the database, patching, TLS and logging with your team.
- Existing monitoring: a log pipeline and review process you already run lowers the work of evidencing logging.
- Applications and realms: each application, client and realm or tenant adds configuration, testing and access review.
Cost follows the same drivers. Keycloak's Apache-2.0 license carries no license fee, so its cost is mainly staff time and infrastructure. Auth0 plans are priced by monthly active users, according to its pricing page, so ask which plan includes the deployment model you need.
How long does a PCI DSS identity engagement take?
The timeline is set by the written scope and the milestones both parties agree before work starts, so no fixed duration applies across engagements. Most engagements are fixed-scope, which means scope, deliverables and timelines are agreed in writing first. Ask for a schedule tied to named deliverables, such as the configuration baseline, the test results, the evidence pack and the retest. Your assessor's calendar matters as well: confirm the evidence period they will review and the date when identity configuration must be frozen for it. Changes made during that window need change records, which adds review time. Schedule slips usually come from unclear ownership or late environment access, so agree both in the scope document before the first working session.
What do we need to provide before an identity hardening project starts?
Plan to provide environment access, an assessor contact, change records and named owners for MFA and logging before work starts. The list below covers the items most often missing:
- Environment access for the systems in scope, with a documented route for the people doing the work.
- A named contact at your assessor, so scope and evidence questions reach the right person early.
- Change records for identity configuration, including approvals for realm, tenant and TLS changes.
- A named owner for MFA policy and a named owner for log review and retention.
Confirm each item in the written scope. Gaps here usually cause delays, so agree who provides each one before the first working session.
Can our own team handle PCI DSS identity controls without a partner?
Yes, if your team has operations and security skills and works from the documented settings for its platform. Record every change, keep the change records ready for the assessor, and test each control the way the assessor will sample it. The Keycloak Server Administration Guide covers the MFA, lockout and TLS settings, and Auth0's documentation covers its own deployment options, but choosing values and justifying them is still your job. Your assessor reviews the result either way, so an internal build does not replace that review. Most teams find evidence harder than configuration: proof that controls ran through the assessment period needs logs, review records and owners who can explain them.
Does DeployOpen certify our PCI DSS identity setup?
No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence, and independent auditors and certification bodies make the determination. In practice, DeployOpen can configure the identity platform in your infrastructure, document the settings and the responsibility split, and assemble the evidence your assessor requests, such as MFA and logging configuration, access review records and change history. Your organization receives the outcome from its own assessor. When you compare providers, ask each one which party issues the document you will hand to the assessor, and get that answer in writing.
How DeployOpen prepares Keycloak systems and PCI DSS evidence
DeployOpen plans, implements, hardens and documents self-hosted identity platforms inside your own infrastructure, so the PCI DSS evidence for Keycloak is built and reviewed in your environment. For Auth0 vs Keycloak for PCI DSS, we start by agreeing which parts of your cardholder data environment the identity platform touches, then test and document the controls your assessor will ask about. We prepare systems and evidence for the assessment, but independent assessors issue any attestation.
How we scope
- The written scope names the identity platform, the applications it signs in, and which systems touch cardholder data.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer once the initial scope closes.
How we build
- We deploy Keycloak on a production database such as PostgreSQL 14 to 18, never the development file database.
- We configure MFA, brute force lockout and per-realm TLS settings against the in-scope access control and transmission requirements.
- We set up Keycloak with the Operator or the server distribution, and we document which route the assessed environment uses.
How we hand over
- Handover covers the configuration, the database and backup procedures, and the runbooks your team needs to operate Keycloak.
- Evidence documentation maps each in-scope control to its configuration, test result and named owner for your assessor.
- Where Auth0 is shortlisted, we document the vendor evidence you request and how it fits your controls.
How we support
- Retainers cover upgrades and continuous testing, and Keycloak plans four minor releases a year.
- We retest after each upgrade so the in-scope evidence reflects the running version.
- Ask whether the retainer includes evidence refresh before each assessment and which team holds administrative access.

