Keycloak vs authentik for PCI DSS: which fits a cardholder environment
Choose Keycloak when the MFA options, brute force lockout and per-realm TLS settings it documents already cover what your assessor will test, and you want the server under Apache-2.0 without buying a paid edition for those controls. Choose authentik when you are willing to license its Enterprise edition, because password history and enhanced audit logging sit behind that subscription. This page covers only the PCI DSS angle, and the general Keycloak vs authentik comparison is on its own page. Neither product is PCI certified. The organization's assessor decides scope and whether the controls are sufficient for the cardholder data environment, using the PCI DSS standard as the reference.
Start by asking the assessor which controls they will test. For Keycloak, the MFA, lockout and TLS questions map to settings you configure in each realm that can reach cardholder systems, so every such realm needs the same settings and a record of them. Run a test in a staging realm: enroll an MFA factor, trigger failed logins until lockout applies, and capture the realm's TLS configuration as evidence. For authentik, confirm whether the password history and enhanced audit logging your assessor expects are in the Enterprise edition you would license. Also confirm what the core event logging retains, where it is sent and who reviews it. Neither project's documentation maps its features to PCI DSS, so that mapping work falls to your team.
The decision turns on two questions. First, which controls the assessor will test and whether you can show sufficient evidence for each one. MFA, lockout, logging and TLS are the areas most likely to be sampled, so decide which product's settings, logs and exports you can produce for each. Second, whether your team can run and patch the platform. Keycloak 26.8.1 is the current release, and the project plans four minor releases a year, so you need a patch cadence and a test environment to absorb them. authentik's supported lines, 2026.5.x and 2026.8.x, receive security fixes, and the project announces security releases at least 24 hours in advance, which leaves a short window for your change process. If your team cannot keep up with that cadence, the operating model will matter more than the license.
Four factors that decide between Keycloak and authentik for PCI DSS
Four decisions separate these platforms for a PCI DSS scope: which edition you must buy to show your controls, which access control settings you can document, how logs and password rules are produced, and whether your team can keep pace with each vendor's release cadence. Each factor points one way only under a specific condition, so each card names the condition that makes it matter.
License and paid features
The license question is which controls sit behind authentik's paid directory. authentik core is MIT, but code in its enterprise directory needs a paid subscription for production use. The pricing page lists Enterprise at $5 per user per month billed annually plus $0.02 per external user per month, so that cost recurs and grows with headcount. Keycloak is Apache-2.0, and the MFA and lockout settings covered on this page are part of the server documentation. This factor matters most when your assessor's evidence depends on an Enterprise feature. Ask each vendor for a written list of the features your evidence relies on, and the edition that includes them.
MFA and lockout settings
Keycloak documents MFA options and brute force lockout that can support PCI DSS access control. Its TLS settings can support the transmission security requirements. The project publishes no PCI DSS attestation, so your team owns the evidence that these settings are enabled, tested and scoped to the cardholder data environment. authentik's documentation does not name PCI DSS, so confirm its MFA enforcement, lockout behavior and TLS configuration in its current docs before you assume parity. This matters for every login path that reaches cardholder data, including administrator consoles.
Keycloak admin guideLogging and password history
authentik's audit logging is documented, but its password history policy is Enterprise-only. Plan a route that ships authentik events to your log store and retains them for the period your assessor sets. Keycloak's route uses its own event and admin event logs, which you must enable and forward yourself. Confirm in the Keycloak administration guide whether its password policies block reuse of earlier passwords, and how that setting produces evidence. This factor matters most when your assessor wants password history and access logs in the same evidence set.
authentik events docsPatching on the vendor cadence
Keycloak plans four minor releases a year, and its minor-release breaking changes are opt-in. authentik supports its 2026.5 and 2026.8 lines for security fixes and announces security releases at least 24 hours ahead. A short notice window leaves less time for testing, so a team that patches on a fixed monthly window needs a staging environment that matches production. This factor matters when your team cannot test and roll out a release within the window the vendor gives. Check your own patch process and confirm which authentik line you will run before go-live.
Keycloak release updatesWhat PCI DSS asks of an SSO and identity platform
PCI DSS applies to any entity that stores, processes or transmits cardholder data or sensitive authentication data, and to any entity that could affect the security of the cardholder data environment. That second clause is what brings an SSO platform into scope. If Keycloak or authentik sits between staff and a payment application, an administrative console or a jump host that reaches the cardholder data environment, the identity server, its database, its administrator accounts and its logs are in scope, even though no card number passes through them. Ask your Qualified Security Assessor which systems form your cardholder data environment, and whether the identity platform is inside that boundary or connected to it through segmentation you can evidence. PCI SSC's PCI Data Security Standard page sets out who the standard covers.
An assessor testing an identity platform will look at a set of control areas. Expect questions on unique user identification and strong authentication, including MFA for administrative and remote access; restriction of who can change realms, clients, policies or identity provider settings, based on role; lockout after repeated failed logins; password rules; logging and monitoring of user access and administrative changes; and encryption of data in transit between browsers, applications and the identity server. Keycloak's documented MFA options, brute force lockout and per-realm TLS settings can support these areas, but the project publishes no PCI DSS attestation and the operator carries the scope. For authentik, its audit logging is available to operators, while password history and enhanced audit logging are Enterprise Edition features. Confirm whether your password rules need them before you settle on an edition.
Use PCI DSS v4.0.1 as the baseline. It is the only active version: 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. Of the 64 new requirements introduced in v4.0, 51 became effective on 31 March 2025, so a control you treated as optional guidance in 2024 may now be assessed as a requirement. Read the PCI SSC announcement of v4.0.1 for the revision details. Then ask your QSA to confirm the exact requirement mapping for your environment, and ask each vendor for the evidence it can produce for each control area, such as configuration exports, admin audit logs and TLS settings, before the assessment starts.
How Keycloak and authentik for PCI DSS compare as documented
This table sets out what each project's public documentation says about the control areas a PCI DSS assessment usually reviews. Treat each cell as a starting point for verification, since no single setting proves compliance. The main takeaway is that Keycloak publishes no PCI DSS attestation and authentik's reviewed pages do not map features to the standard, so your cardholder data environment evidence must come from your own configuration, testing and records.
| Requirement area | Keycloak as documented | authentik as documented |
|---|---|---|
| Multi-factor authentication | Documented MFA options. Check the authentication section of the Keycloak Server Administration Guide and confirm which factors you need. | The reviewed public pages do not map MFA to PCI DSS. Check the authentication and MFA documentation for your edition. |
| Brute force lockout | Brute force protection is set per realm. Confirm thresholds and lockout behavior in the realm security defenses settings. | Not covered in the reviewed public pages. Ask authentik to confirm lockout behavior for your version before relying on it. |
| Transmission security and TLS | TLS is set per realm. Check the realm settings in the Server Administration Guide and record your cipher and certificate choices. | mTLS client certificate authentication is an Enterprise-only feature. Confirm TLS setup for the core product in the install documentation. |
| Password history and rules | Password policy rules are set per realm. Confirm in the Server Administration Guide whether its history limits meet your requirement. | Password history is an Enterprise-only feature. Check the Enterprise documentation and your subscription before relying on it. |
| Audit logging | Event logging is covered in the Events section of the Server Administration Guide. Confirm retention and export for your assessor. | Audit logging is documented in the events section. Enhanced audit logging is Enterprise-only, so confirm which events your edition keeps. |
| Admin and role access control | Admin console and fine-grained authorization services are documented. Confirm admin role scoping and MFA for administrator accounts. | The reviewed pages do not map admin access to PCI DSS. Confirm role scoping and admin MFA with authentik for your edition. |
| Security patching and supported versions | Keycloak 26.8.1, released October 13, 2026, is current. Confirm the support window for your release line in the release notes. | The security policy lists 2026.5.x and 2026.8.x for security fixes, announced at least 24 hours in advance. |
| Vendor attestation | The project publishes no PCI DSS attestation. The operator carries scope and evidence for its own environment. | The reviewed public pages do not map features to PCI DSS. Ask authentik whether it holds any attestation relevant to your scope. |
Where the identity platform sits in the cardholder data environment
Start at the users on the left. Their password reaches the identity platform over TLS, and the platform sends the sign-in to a second-factor check before it issues a session or token to the payment application inside the cardholder data environment. Administrators reach the platform's admin console on a separate path over TLS, so an assessor can trace that path to its own access controls. The operator runs the platform, its database and the log store that receives authentication, admin and application events. Check where your boundary falls on your network, whether the log store sits inside scope, and which MFA methods and admin accounts your chosen platform will use.
Login, admin and log flows across the cardholder data environment boundary.
Evidence an assessor asks for in a Keycloak vs authentik for PCI DSS review
On the Keycloak side, the assessor samples realm configuration, because most access control and transmission evidence sits in realm settings. Keycloak publishes no PCI DSS attestation, so the operator captures these records, dates them and keeps them for the review period.
- MFA per realm: Export the authentication flows and required actions that show which OTP or WebAuthn options apply to administrators and users in scope.
- Brute force lockout: Capture the brute force detection settings for each in-scope realm, including failure thresholds and lockout behavior.
- TLS per realm: Record the SSL required setting for each realm and the TLS configuration of the proxy or load balancer in front of it.
- Role and admin assignments: Export realm and client roles and the users holding admin roles, with an approval record for each grant.
- Event logging: Document which events are saved, where they are forwarded and how long they are kept, following the Keycloak server administration guide.
Confirm that each exported value matches production on the sampled dates, because a screenshot from a staging realm does not prove what ran in production.
On the authentik side, the assessor checks that the controls you rely on were licensed and active in production. authentik's documentation does not map its features to PCI DSS requirements, so the mapping and its supporting evidence are yours to write down.
- Provider settings: Export the OAuth2/OIDC, SAML, LDAP and proxy provider configurations for each in-scope application, including redirect URIs, token lifetimes and signing settings.
- Enterprise license and subscription records: Keep the subscription record covering the authentik/enterprise code, since production use of that code needs a paid subscription. An assessor will ask for proof it was current on each sampled date.
- Audit log settings: Show that enhanced audit logging is enabled, which edition provides it, and where the events are sent. Enhanced audit logging is listed as an Enterprise feature on the authentik pricing page.
- Password history policy: Export the password policy that enforces password history for in-scope users. This is an Enterprise feature, so an Open Source deployment cannot produce this evidence.
- Version and patch records: Capture the installed release and confirm it sits on a line that receives security fixes, such as 2026.8.x, which the security policy lists as supported.
Confirm with authentik which features each subscription tier includes before you promise any control to the assessor, because pricing and license terms can change.
Shared evidence applies whichever platform you choose, and your own organization must produce it. Neither vendor can supply a scope statement, a network diagram or your change history, so the assessor will sample these to confirm the identity platform sits inside the scope you declared.
- Scope statement: A written statement naming the applications, realms, administrators and network segments in the cardholder data environment, and the identity platform's place within it.
- Network diagram: Shows how the identity platform, its database, load balancers and protected applications connect, including the segments that carry authentication traffic.
- Change tickets for upgrades: Records for each platform upgrade showing testing, approval and rollback plans. Keycloak plans four minor releases a year, so expect a steady flow of these tickets.
- Patch records: Dated evidence that security updates to the platform, database and host operating system were applied, along with any approved exceptions and their expiry dates.
- Access review and log retention proof: Periodic reviews of admin and user accounts with sign-off, plus evidence that identity logs are kept for the period your policy states and can be retrieved on request.
Ask your assessor which sample period applies, then collect these records for that period from both environments before the review starts.
Setting up Keycloak or authentik for PCI DSS controls
This sequence shows the order in which a team sets up Keycloak or authentik so that its identity controls can be tested and evidenced for a PCI DSS assessment. The steps are a guide. The QSA confirms what counts as sufficient for your cardholder data environment, and the operator carries scope for every setting the project does not attest.
Define the cardholder data scope
The team and the QSA agree in writing which systems store, process or transmit cardholder data or could affect the security of that environment. The identity platform belongs in scope if it authenticates administrators or users who reach those systems, so its database, admin consoles, outposts or proxies, and connected applications are listed too. Output: a scope diagram and asset list, signed off by the QSA and the security lead, that shows where the identity platform sits in the cardholder data environment.
Choose the edition and confirm licensing
The platform owner compares each control the assessment will test against the edition that provides it. For authentik, the core is MIT licensed, but the pricing page lists password history and enhanced audit logging as Enterprise-only, and code under authentik/enterprise needs a paid subscription for production use. Keycloak is Apache-2.0, so confirm with the project or your implementation partner that every feature you need is in the build you run. Output: a written feature-to-edition matrix, with any subscription quote attached, approved before anything is installed.
Deploy on a production database
The platform team deploys the identity platform on infrastructure in your own environment, with the database in place before any users sign in. Keycloak needs a relational database in production, and PostgreSQL 14 to 18 is among the supported options, while the development file database is not suitable for production. authentik keeps its configuration and data in PostgreSQL and runs a server container, an embedded outpost and a worker container. Confirm backup, restore and database access controls with the QSA. Output: a running instance connected to a supported database version, with a tested restore recorded in the evidence folder.
Configure MFA, lockout and TLS
The platform team turns on multi-factor authentication for every administrator and for each user population in scope, then sets failed-login lockout and TLS on every public and internal endpoint. Keycloak documents MFA options, brute force lockout and per-realm TLS settings that can support PCI DSS access control and transmission security requirements. For authentik, confirm the MFA stages, lockout behavior and TLS settings against the documentation for your version. Output: test logins showing the MFA prompt, a lockout after repeated failures, and a configuration export that shows the TLS settings for each realm or endpoint.
Set admin roles and export logs
The security lead limits administrator access to named roles, removes default or shared admin accounts, and sends authentication and admin events to a central log store that the team controls. authentik's enhanced audit logging is an Enterprise feature, so confirm which events the edition you run captures, and check the events documentation before relying on it. For Keycloak, set realm-level admin roles and confirm how admin events are exported to your SIEM. Output: a role register listing each administrator, plus sample admin and login events arriving in the central store.
Test controls and capture evidence
The QSA or internal assessor tests each control with a written test script: MFA enforcement, lockout, TLS, role separation, log export and, where the edition provides it, password history. The team runs each test, records the date, tester, configuration version and result, and saves the screenshots, exports and log extracts. Keycloak publishes no PCI DSS attestation, and authentik's documentation does not address PCI DSS, so the operator carries scope and evidence. Output: an evidence pack indexed by requirement, with failed tests logged and fixed before the assessment.
Schedule patching and track releases
The platform owner sets a patch calendar that covers both the identity platform and its database, and assigns who reviews each release. Keycloak 26.8.1 is the current release, and the project plans four minor releases a year, with breaking changes in minor releases opt-in. authentik lists 2026.5.x and 2026.8.x as supported for security fixes and announces security releases at least 24 hours in advance, so the team needs a standing way to receive those notices. Output: a dated patch record showing each release tested in staging before production, and the change ticket that approved it.
How release cadence and supported versions affect the PCI work
The release cadence sets how often the team must test and document identity upgrades. Since Keycloak 26.0, the project plans four minor releases a year, and it says breaking changes in a minor release will be opt-in. That lowers the risk of an unexpected change on upgrade, but it does not remove the work. For each release, the team should read the notes, decide which opt-in changes to enable, and retest the settings that carry PCI weight: MFA options, brute force lockout, and per-realm TLS. The current release is 26.8.1, published October 13, 2026, so the test cycle runs continuously. Keycloak's backwards compatibility notes explain the opt-in model. Keep a dated record of which Keycloak build ran in the cardholder data environment on each date, so an assessor can match the evidence to the version in use.
authentik's security policy lists 2026.5.x and 2026.8.x as the supported lines receiving security fixes, and the project announces security releases at least 24 hours in advance. A day's notice is short compared with a normal change window, so the process has to exist before the first notice arrives. Name an owner who watches the authentik releases page, pre-approve an emergency change path for security releases, and keep a staging instance on the same minor line as production. Rehearse the rollback for the server container, the worker container and the embedded outpost, since all three must move together. Confirm with the vendor which notification channel carries the advance notice, and confirm which line your deployment runs on. A patch on a line outside the supported list is not the same as a supported fix, so check the line before you plan the window.
The vendors publish release notes and security policies, but they do not produce the evidence a PCI DSS assessment asks for. The team owns that record. Under the patching requirement in section 6 (requirement 6.3.3), an assessor will want to see which version ran, when each security patch was identified, how it was tested, who approved it, when it went live, and whether the change was reviewed. Store those records in the change system and link each one to the exact version number. Identity configuration changes, such as MFA enrollment rules, password history settings or audit log exports, need the same change records as binary upgrades. Before the first assessment, run one full cycle from end to end: take a supported-line release, test it, record the change, roll it back once, and keep the output. Ask your assessor which format they accept before you build the records.
Questions to settle before hiring help for Keycloak vs authentik for PCI DSS
How much effort do PCI DSS controls add to a Keycloak or authentik deployment?
The effort depends mostly on how much of the cardholder data environment your identity platform touches, and the operator carries that scope with either product. Keycloak publishes no PCI DSS attestation, and authentik's documentation does not mention PCI DSS, so your team or a partner must configure and evidence the controls. The main drivers are:
- Access control: MFA enrollment, lockout thresholds, password rules and admin role design.
- Transmission security: TLS on every hop, certificate handling and database connection protection.
- Logging: where audit events go, how long they are kept and who reviews them.
- Scope: whether the identity provider sits inside the cardholder data environment or only feeds it.
Each driver grows with the number of realms, applications and identity sources. Ask for the control list in the written scope before estimating effort.
How long does a PCI DSS identity project take?
The timeline depends on the written scope, so no duration can be stated until that scope is agreed. Work usually moves through discovery, platform configuration, evidence collection and an assessor review window. The length of each phase follows the number of realms or applications, the identity sources to connect (such as LDAP or Active Directory), and whether features like password history or enhanced audit logging are in the build. The assessor's calendar often sets the final date, so confirm it at the start. DeployOpen works on fixed-scope engagements, with scope, deliverables and timelines agreed in writing before work starts. Ask for the timeline as a line item in that written scope, with the dependencies on your contacts stated.
What does a PCI DSS identity project need from our staff?
The work needs named people from security, identity operations and the assessment side, and it needs them early. Security owns the control set and the evidence standard. Identity operations owns directory sources, application integrations, MFA enrollment and administrator accounts. Your assessor or QSA contact confirms which evidence they will sample, which affects log formats and retention settings. Database and infrastructure teams answer TLS, backup and network questions, and a change approver must be available for cutover. Confirm each contact, their availability and their decision rights in the written scope. A single approver who is unavailable can hold up a cutover.
Can an internal team run a PCI DSS identity project alone?
Yes, if the team already runs the platform in production and has someone who can own the PCI scope decisions. The skills needed are platform operations (Kubernetes or virtual machines, PostgreSQL administration, TLS and certificates), identity protocol knowledge (OpenID Connect, SAML and LDAP federation), and enough PCI DSS familiarity to map each requirement to a configured setting and an evidence artifact. Teams without that mapping skill often find the evidence step hardest, because a control can be configured yet impossible to show to an assessor. Many organizations split the work: the internal team runs operations while an outside firm handles hardening, documentation and evidence preparation. DeployOpen prepares controls and evidence for the assessment but does not issue the assessment result. Make that decision after a skills review.
What does an authentik Enterprise license cost for PCI DSS work?
authentik's 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. The core is MIT licensed, but code under authentik/enterprise needs a paid subscription for production use, so any production deployment that relies on those features needs one. Features on that page relevant to PCI DSS controls include password history, enhanced audit logging and mTLS client certificate authentication. The main cost drivers are internal user count, external user count, edition and support tier, and the page ties ticket-based support to subscriptions over $1k. Keycloak's Apache-2.0 license carries no per-user charge, so its costs sit in infrastructure, staff and outside services. Confirm current terms with authentik before budgeting, since prices can change.
What should we ask for in a quote for PCI DSS identity work?
Ask for a written scope that names the platform versions, environments, identity sources, applications and the PCI DSS requirements the work covers. A useful quote lists:
- Deliverables: configuration baseline, hardening record, runbooks and the evidence list agreed with your assessor.
- Assumptions: who provides access, approvals and assessor contacts, and what happens when they are late.
- Testing and handover: what is retested, and what the operator owns after handover.
- Recurring items: upgrades, retainers and continuous testing, shown separately from the one-time build.
Also ask what is excluded, such as assessor fees, licenses and hosting, and how changes to scope are priced. DeployOpen issues quotes from the written scope and does not publish a price list.
How DeployOpen prepares, implements and evidences either option
DeployOpen approaches Keycloak vs authentik for PCI DSS as a scoped implementation inside your own infrastructure, whichever platform you choose. We start by mapping the cardholder data environment and the identity controls your assessor will examine, then build and document both platforms against that map. DeployOpen prepares systems, controls and evidence for your assessment, but does not issue PCI DSS attestations; your assessor and the operator carry the compliance decision.
How we scope
- The written scope names which Keycloak or authentik components, environments and user populations are in the assessed systems.
- Scope lists which MFA, brute force lockout, TLS and audit logging settings get reviewed on each platform.
- Scope also records which features need the authentik Enterprise license, such as password history.
How we build
- Keycloak builds start by confirming the database version against the supported PostgreSQL 14 to 18 range.
- Keycloak deployments use a production relational database, since the dev-file database is not suitable for production.
- authentik builds run the server and worker containers on PostgreSQL, and check the license for any enterprise code in use.
How we hand over
- Deliverables include configuration exports, a runbook and a control-to-evidence map agreed in the written scope.
- Evidence packs record the audit logging, access reviews and password policy settings as they stood at handover.
- The assessor issues any PCI DSS attestation, so the handover is evidence for their review, and DeployOpen issues no attestation.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Keycloak plans four minor releases a year, and breaking changes in minor releases are opt-in, which shapes the upgrade plan.
- authentik security fixes cover the 2026.5.x and 2026.8.x lines, so the patch window needs watching.

