Keycloak for DORA ICT access control requirements

Keycloak can supply strong authentication, role-based access, session settings and audit records for DORA Article 9 duties, but it does not make an entity compliant on its own. This page maps each requirement to configuration, evidence and the gaps that remain.

On this page

Keycloak for DORA ICT access control: what Article 9 asks and what Keycloak covers

A financial entity facing an ICT risk review will be asked how it controls access to systems supporting critical or important functions. Keycloak supports the strong authentication, access limitation and evidence duties in Article 9 of DORA, but does not satisfy the policy, network and third-party duties on its own. Strong authentication under Article 9(4)(d) is served through OTP policies, WebAuthn and passkeys set per realm or client. Access limited to legitimate, approved activities under Article 9(4)(c) depends on the roles, groups and client assignments you design and document. The documented security policy in Article 9(4)(a), network segmentation, and the contracts and exit plans for providers under Articles 28 and 30 remain yours to write and operate.

DORA sets no certification scheme, so no body will certify a Keycloak deployment as DORA compliant. Competent authorities supervise compliance using the powers in Article 50, and the national authority for each type of financial entity is named under Article 46. The only authority-issued attestation the Regulation provides for concerns a threat-led penetration test under Article 26(7). Your supervisor will read your own records, so the review file needs to show the realm configuration, who held which role and when access was reviewed. Delegated Regulation (EU) 2024/1774 sets the review cadence: access rights for systems supporting critical or important functions are reviewed at least every six months. DeployOpen prepares the systems, configuration exports and evidence for this, but does not issue audit reports, attestations or certifications.

Decide the scope before the review starts. List the realms, clients and admin endpoints that hold or reach systems supporting critical or important functions. Then confirm that the admin console and Administration REST API are served on a different hostname or context path from public frontend URLs, as the production guide describes. Set a patch policy that matches the Keycloak release cadence, since the project plans four minor releases a year and reviewers will ask how you apply them under Article 9(4)(f). Confirm that login failures are persisted to the database, as the 26.8 upgrade notes describe by default, and that /metrics is enabled with --metrics-enabled=true only on your management interface.

Which DORA Article 9 requirements map to Keycloak settings

This table maps the DORA Article 9 duties that touch identity and access to the Keycloak capability, configuration and decision owner behind each one. Treat each row as an input to your ICT risk file, since no single setting proves compliance. Most rows depend on choices your organization makes, so the decision owner column matters as much as the setting.

RequirementKeycloak capabilityConfiguration to setWho decides
Article 9(1) and 9(2): monitor, control and protect data in transitTLS on all communication, Prometheus metrics at /metrics on the management interface, login failures stored by default in 26.8Enable TLS on every endpoint, turn on metrics with the metrics-enabled option, and restrict /metrics to the monitoring networkPlatform owner, with the information security function approving the monitoring design
Article 9(4)(a) to (c): logical access limited to needRealms, roles, groups and a separate admin console hostnameSeparate workforce and customer realms, grant roles by function, and serve the admin console on a hostname distinct from public URLsApplication owners approve role contents, and the IAM team configures them
Article 9(4)(d): strong authenticationOTP policies, W3C WebAuthn, passkeys and recovery codesSet the OTP policy, require WebAuthn or passkeys for privileged roles, and define how recovery codes are issued and storedInformation security policy owner sets the authentication standard
Article 9(4)(d) to (f): protection of cryptographic keysKeys used for token signing and encryption, managed through key providersConfirm the key provider and rotation settings your policy requires before go-live, and record who holds key administration rightsCryptography owner, using the data classification and ICT risk assessment outputs
Article 9(4)(d) to (f): change management and patch policyManual operator update approval, published upgrade notes and a choice of schema migration modeSet operator updates to manual approval, review upgrade notes before each update, and choose manual schema migration for large databasesChange advisory board approves each update, and the platform team runs it
Delegated Regulation 2024/1774 Article 21: access rights reviewRole and group exports for periodic reviewSchedule exports on your review cadence, which the regulation sets at six-monthly for critical or important functions and yearly for othersBusiness owner of each application, with the IAM team supplying the exports

How a login reaches Keycloak and leaves an audit trail

This illustrative diagram follows two entry points. A user browser reaches Keycloak through a reverse proxy at the internet edge, which terminates TLS and limits exposed paths on the public frontend hostname. An admin browser uses a separate hostname that should be reachable only from the admin network, where the admin console and Administration REST API sit. Inside the cluster, Keycloak writes to a synchronously replicated PostgreSQL database in the data tier, federates users from LDAP or Active Directory, and brokers logins to upstream OIDC or SAML providers. The monitoring stack scrapes metrics from the management interface. When reviewing, confirm which login and admin events reach your audit store, and confirm the admin hostname does not resolve from the internet edge.

Illustrative: user and admin login paths across three trust boundaries.

Limiting access rights to need with Keycloak roles and groups

Start by making every grant traceable to an approved business need. In Keycloak, realm roles should describe a function that applies across the realm, client roles should describe what one application allows, and groups should bundle the roles a job function needs, so membership carries most of the access. Name each role after the function it serves, and keep a written map from every role and group to the approval that justifies it. Then use that map as the basis for the reviews that Article 21 of Delegated Regulation (EU) 2024/1774 requires at least every 6 months for systems supporting critical or important functions. Confirm with your own ICT risk assessment which systems fall into that category before you set the review schedule.

Keep administrative rights separate from user rights. Federate user identities from your authoritative directory so accounts are not created by hand in Keycloak. The server administration guide documents LDAP and Active Directory user federation, which lets joiners, movers and leavers be handled once, in the directory where HR and approvals already run. Local accounts that exist only in Keycloak drift from that source over time, and each drifted account is access that no approval record covers. Give platform administrators their own accounts, grant them client roles only for the admin tasks they perform, and keep their admin roles off the accounts they use for daily work. Expose the admin console and Administration REST API on a separate hostname or context path from public frontend URLs, as the production guide describes.

Store the approval record for each grant in your access management process. Record the requester, the approver, the role or group granted, the business reason, the date and the next review date, with a link to the ticket. Keycloak's events and group membership show what is granted at a given moment, but the reason and the sign-off usually sit in the process that approved the change, so an ICT risk review should be able to trace one back to the other. The Organizations feature in Keycloak is for managing member organizations and their domains. Treat it as a tool for that purpose, and confirm its exact behavior in the server administration guide before you rely on it for access decisions.

Access rights review cadence for critical functions and other systems

Systems that support critical or important functions need an access rights review at least every six months under Article 21 of Delegated Regulation (EU) 2024/1774. The entity decides which functions are critical or important from its own ICT risk assessment, so this track applies only to the systems that assessment places in scope, and a list copied from another entity does not replace it.

  • Export users: Pull every user in each realm in scope, with the enabled state and the identity source for federated accounts.
  • Export role mappings: Capture realm and client role assignments, both direct and inherited through groups, so the reviewer sees effective access.
  • Export group membership: Record each group path and its members, since inherited roles follow the group tree.
  • Export administrator accounts: List holders of administrative roles in the master realm and in each managed realm.
  • Reviewer sign-off: The reviewer signs the snapshot with the date, the systems and realms covered, the keep, change or remove decision for each account and the ticket for each change.

Before the reviewer signs, check that the realm list matches the current register of critical or important functions.

Configuring Keycloak for Article 9 access controls in sequence

The sequence below moves a Keycloak deployment from documented policy to tested access controls, in the order each control depends on the one before it. Each step names the evidence it produces, so the ICT risk review can trace every setting back to a documented decision. Work the steps in order, because later settings assume the earlier decisions are recorded and approved.

  1. Record the ICT policy and risk scope per realm

    Before any setting changes, the entity's security and compliance owners list each Keycloak realm, the applications it signs in, and whether those systems support critical or important functions. Each realm is tied to the ICT security policy and risk assessment that covers it, and a named owner is assigned to every realm. The output is an approved realm register that becomes the baseline for every later step, so each access control can be traced to the scope it protects.

  2. Restrict TLS, reverse proxy paths and admin hostname

    The platform team enforces TLS on all communication and places a reverse proxy in front of Keycloak with path restrictions. The admin console and Administration REST API are served on a separate hostname or context path from public frontend URLs, so administrative access can be limited to a network path the entity controls. Test each public path from outside the internal network and confirm the admin paths refuse those requests. The evidence is the proxy configuration, the path test log, and the segmentation design that Article 9(4) expects for the network connection infrastructure.

  3. Deploy the database and high availability architecture

    The infrastructure team selects one of the high availability architectures Keycloak documents and deploys a production database from its supported list. Both supported high availability designs need a synchronously replicated database, so the team confirms the replication mode with the database owner before go-live and avoids the deprecated multi-cluster v1 design. The team also decides whether schema migration runs automatically at startup or is applied manually, and records that choice in change control. Evidence: the architecture diagram, the replication configuration, and a failover test record showing that logins continue after a node is lost.

  4. Federate identities and map roles through approvals

    Connect Keycloak to the authoritative directory, such as LDAP or Active Directory, so user records come from the system of record and are not created by hand in Keycloak. Configure identity brokers for any external provider with attribute mappings that carry only the claims each application needs. Build roles and groups from documented job functions, and make every grant depend on an approval recorded in the entity's access request workflow. Evidence: the federation and broker configuration export, the role and group catalog with named owners, and a sample of approval records linked to granted memberships.

  5. Set MFA, passwordless and session lifetimes from policy

    Set the MFA policy per application and per administrator role, using the OTP, WebAuthn or passkey options that the entity's authentication standard permits, and require the strongest permitted method for administrative roles. Recovery codes follow a documented issuance and reset procedure. Then set realm session and token lifetimes from the idle and absolute timeouts written in the ICT policy, so the configured values match the documented ones. Test one login per application and role, and record each result. Evidence: the authentication flow export, the lifetime settings, and the test results for each application and role.

  6. Enable metrics and event logging for review

    Start Keycloak with metrics enabled so Prometheus-format data is exposed at the metrics path on the management interface, and keep that interface off public networks. Turn on login and admin event logging and forward the events to the entity's log platform, with retention set by the logging requirements in the ICT policy. Alerts should cover failed logins, admin changes and changes to realm settings. Test by making a controlled admin change and confirming it reaches the log platform. Evidence: the metrics configuration, the event listener and forwarding settings, and the test record showing the controlled change in the log.

  7. Approve operator updates manually before rollout

    If the deployment uses the Keycloak Operator, set the update approval mode to manual, which the Operator documentation strongly recommends to avoid unintended automatic upgrades. Each new version then passes through the entity's change management: a recorded test in a non-production realm, a review of the release and upgrade notes, approval by the change owner, and the rollout itself. Schema migration is covered in the same change record. Evidence: the approval setting in the Operator Lifecycle Manager subscription, the change record for each update, and the pre-production test output.

  8. Export the first access review and retest

    Export users, roles, groups and last login data from the realm, then run the first access review with the application owners, who confirm, change or remove each grant. Delegated Regulation (EU) 2024/1774 expects access rights to be reviewed at least every 6 months for systems supporting critical or important functions, so this first review sets the baseline for the recurring cycle. Rerun the earlier tests for MFA, session lifetimes and admin path restrictions, and confirm each finding is closed. Evidence: the export file, the review decisions with reviewer names and dates, and the retest results.

Evidence an ICT risk review can sample from Keycloak

Each card names one record a risk review can ask for, how to produce it from Keycloak and how to keep it. Together they show what access was permitted, who held it, how sign-in was protected and how the platform changed over time. Set retention for every item from your own records policy.

Documented access policy and role model

Article 9(4)(c) expects access to be limited to what legitimate, approved activities require, so the policy needs a written form and a matching Keycloak model. Export realm roles, client roles and composite roles with a realm export or the Administration REST API, and confirm which fields your Keycloak version includes. Store each export with the written policy and map every role to the activity it approves. Check that each composite role's children stay within that documented purpose, so no role grants more than the policy allows.

Keycloak server admin guide

User and group snapshots for access reviews

Delegated Regulation (EU) 2024/1774 requires access rights reviews at least every 6 months for systems supporting critical or important functions and at least yearly for others (Article 21). Take a dated snapshot of users, their enabled state, group memberships and role assignments for each review cycle. Export the same fields each time so reviewers can compare cycles. Record who performed the review, what they changed and when each change took effect. Confirm whether your version's export includes disabled and service accounts, since reviewers need those too.

Administrator inventory and privileged changes

Article 9(4)(d) requires every change to be recorded, tested, assessed, approved, implemented and verified, and privileged role changes are the changes a review is most likely to sample. Keep a named inventory of every account that holds realm administration, master realm or client administration rights, with the approver for each grant. Enable admin events so that create, update and delete operations on users, roles and clients are logged with the acting administrator. Compare that log against the inventory each cycle, and confirm where your team stores these events and who can query them.

Authentication configuration exports in Git

Article 9(4)(d) asks for strong authentication based on relevant standards, so the configured MFA settings are evidence in their own right. Export the OTP policy, the W3C WebAuthn policy and the browser authentication flow that applies them, then commit each export to version control. Use the commit history to show when a second factor was required, who changed it and which review approved the change. Diff each export against the previous one before a release so that a silent change to a required factor is caught before it reaches production.

Login failure records and metrics

Login failures show whether authentication controls are working and whether someone is probing them. In Keycloak 26.8, login failures are persisted to the database by default, so confirm that this applies to your deployment and that the records stay queryable for your team. Enable metrics with --metrics-enabled=true and scrape the Prometheus-format endpoint at /metrics on the management interface. Keep failure counts with timestamps so an investigator can line up a spike with a related configuration change.

Observability metrics guide

Deployment and upgrade records

Article 9(4)(d) requires documented change management and patch and update policies, so every upgrade needs its own record. Keep the release notes for each Keycloak version you run, the upgrade notes that apply to your configuration and the database migration output. If you use the Keycloak Operator, the project strongly recommends manual approval mode for operator updates, so record the approver and change window for each update. For large deployments the upgrading guide suggests applying schema migrations manually, so keep the SQL that was run.

Upgrading guide

Change control and patching for the Keycloak platform itself

Article 9(4)(d) to (f) turns Keycloak's own release and patch cycle into a controlled process, because an identity provider that is out of date is a single point of failure for every application behind it. Start by writing a change record for each Keycloak release, covering the target version, the tested configuration, the approver and the rollback path. The project plans four minor releases a year, and since Keycloak 26.0 it has said breaking changes in a minor release are opt-in, as explained in the release updates post. That policy lowers the risk of a minor upgrade, but it does not replace testing the upgrade against your own realms, clients and federation settings. The current release is 26.8.1, published October 13, 2026, so confirm which version each environment runs and when it last changed.

Operator-managed deployments need a clear approval gate. The Keycloak Operator documentation strongly recommends manual approval mode for operator updates, so an update reaches a cluster only after someone in change management signs it off. Database schema migration is the next decision. Keycloak migrates its schema automatically at startup by default. For large deployments the upgrading guide suggests applying the SQL manually instead, so a database administrator can review the statements, schedule them and keep a restorable backup before the new server starts. Record which method you chose in the change record for each environment, because the auditor will ask how each schema change was approved.

The 26.8 upgrade notes contain four changes that need explicit test cases before rollout. SMTP connections now enforce StartTLS without plaintext fallback, so confirm that every notification and alert relay supports it. Backchannel logout tokens from external providers must have their signatures validated, so test logout from each brokered identity provider. Login failures are now persisted to the database by default, so confirm that the database can absorb the extra writes and that your event retention covers them. The multi-site feature is deprecated, and the upgrade notes recommend moving to the stateless feature. Each of these is a change to record, test, approve, implement and verify, with the test results kept as evidence for the ICT risk review.

What Keycloak does not cover under DORA Article 9

Keycloak handles authentication and access decisions for identity flows, but Article 9 also reaches the network, the wider infrastructure, governance documents and third-party contracts. The cards below name each gap and the party who must close it, so the ICT risk review does not assume Keycloak covers them.

Network segmentation and isolation

The second subparagraph of Article 9(4) requires network connection infrastructure to be designed so it can be instantaneously severed or segmented to minimize and prevent contagion between interconnected financial processes. Keycloak runs inside a network your team designs, so it cannot create its own firewall zones, separate the database from the public path or cut traffic during an attack. Your network owners must define the zones around Keycloak nodes, the database, the admin hostname and upstream identity providers, and test that isolation can be triggered quickly and reversed safely. Document which sign-in flows continue during a cut, because critical services may depend on them.

Article 9 text

Vulnerability scanning and firewall checks

Delegated Regulation (EU) 2024/1774 requires automated vulnerability scanning of ICT assets supporting critical or important functions at least weekly under Article 10, and firewall rule verification at least every six months under Article 13. Keycloak does not scan the operating system, container images, database host, reverse proxy or the firewall policies in front of them. Name the scanner, the schedule and the owner of each firewall rule review in writing, and keep reports that show each run and each decision. A weekly scan that skips the reverse proxy leaves the most exposed path, the public sign-in endpoint, unchecked.

Regulation 2024/1774

ICT security policy and risk assessment

Article 9(4)(a) requires a documented information security policy, and the risk assessment behind it should set the access, authentication and session rules Keycloak enforces. A realm export cannot stand in for that document. Keycloak can show what is configured, such as MFA requirements, password policies and session lifetimes, but the entity must approve each value for every critical or important function. Keep the policy version, the risk register entry and the approval record beside the realm export so an examiner can trace a setting to a decision. Revisit the assessment when the Keycloak version, user population or upstream providers change.

Exit plans, register and contract terms

Article 28(3) requires a register of information on all contractual arrangements for ICT services. Article 28(8) requires documented, tested exit strategies and transition plans for services supporting critical or important functions, and Article 30(2) requires each contract to state where services are provided and data processed, and to cover data return on termination. Contract terms and the exit plan belong to the entity and its vendors. The Apache 2.0 license governs the Keycloak software, but a support subscription, a hosting provider or a services partner brings its own contract. Test whether identity data and configuration can be exported and moved within the timeline your exit plan states.

Incident reporting

Articles 17 to 23 of DORA, in Chapter III, cover ICT-related incident management, classification and reporting. Keycloak records login failures in its database by default from version 26.8, and it exposes Prometheus-format metrics at /metrics when started with --metrics-enabled=true. Detection rules, severity classification and reporting deadlines belong to the entity. Decide which signals count as a potential incident, such as repeated failed logins, MFA policy changes or admin account changes, and route them to your monitoring platform. Run a tabletop exercise on the notification path before an actual event tests the timing for you.

Upstream identity provider assurance

Keycloak can broker sign-in to LDAP and Active Directory, Kerberos, OIDC, OAuth and SAML providers, and social providers, so the strength of each login depends partly on an upstream system that Keycloak does not operate. Keycloak cannot assess whether an upstream provider enforces MFA, protects its signing keys or removes leavers promptly. Maintain an inventory for each federated provider with its owner, authentication methods, assurance evidence and review date. The 26.8 upgrade notes make signature validation of backchannel logout tokens from external providers mandatory, which narrows one part of the trust path, but the rest of the assurance stays with the entity and the provider owner.

Keycloak upgrading guide

What buyers ask before engaging a partner for Keycloak DORA access controls

What drives the cost of a Keycloak DORA access control engagement?

Scope is the main driver: the number of realms and applications, and the user populations each realm serves. Federated directories such as LDAP or Active Directory add mapping and testing work. Each MFA design, such as conditional MFA by group, step-up for administrators or passkeys only, adds policy design and test cases. The high availability architecture changes both the installation and the database requirements, because the supported multi-site designs need a synchronously replicated database. Evidence scope, meaning how many controls and review cycles you want documented for an ICT risk review, adds effort in every phase. Design, build and documentation are one-time costs. Reviews, upgrades and retainers recur. DeployOpen does not publish prices, and a quote follows the written scope, so ask for each driver as its own line item.

How long does a Keycloak DORA access control project take?

Duration depends on the same scope drivers and is agreed in writing before work starts. Most engagements are fixed-scope, so the scope document sets the deliverables and the timeline together. A narrow scope covering one realm, a few applications and one MFA design moves through the phases far faster than a multi-realm build with federated directories, a high availability cluster and a full evidence pack. Client dependencies also set the pace: change windows, access to test identity sources and named reviewers for the evidence. Ask the partner to show each phase, the client dependencies inside it and which items are optional. A timeline that does not list those dependencies is not yet a plan.

What does our team need to provide before a Keycloak partner starts?

The engagement needs named owners who can make decisions, not only attend meetings. Assign one owner for the access control policy that sets your DORA Article 9 expectations, one for each identity directory, one for the application inventory with the systems that support critical or important functions marked, one for change approvals and one for administrator access. The partner also needs read access to realm configuration, test accounts for each MFA path and a non-production environment with a change window. Without a complete application inventory, the access rights review design usually stalls, so resolve that gap before the build starts.

Can our internal team set up Keycloak for DORA access controls alone?

Yes, an internal team can configure and run Keycloak for DORA access controls if it has the skills. The team needs working knowledge of OpenID Connect, MFA policy design, realm and group structure, session settings and database operations. The partner adds the most value at two points: an independent review of policy, configuration and logs to check they agree, and preparation of the evidence an ICT risk review will request. Many organizations use a partner for the first review and then run the platform in house. Compare your team's skills against the written scope before deciding, and name the reviewer who will check the evidence.

Does DORA or Keycloak certify our access control setup?

No. DORA sets no certification scheme, so no body certifies a Keycloak setup as DORA compliant. Competent authorities supervise compliance using their own powers under Article 50. The only authority-issued attestation the Regulation provides for concerns whether a threat-led penetration test met the requirements under Article 26(7), which is a different activity. Keycloak is open source software and holds no DORA certification. DeployOpen does not issue audit reports, attestations or certifications. A partner can deliver configuration, testing results and evidence for your own team and your supervisor to review, and your compliance function decides how that evidence is used.

Which contract terms should we request from an ICT provider under DORA?

Request written terms that cover the points DORA sets for ICT contracts. Under Article 30(2), the contract should state where services are provided and data is processed, require advance notice of changes to those locations and cover data return on insolvency or termination of the provider. Under Article 28(3), ask the provider to supply the details your register of information needs for the arrangement. For services that support critical or important functions, also ask for support in documenting and testing exit strategies and transition plans under Article 28(8). Have legal counsel confirm the final wording against the DORA text on EUR-Lex.

How DeployOpen scopes and delivers Keycloak access control evidence

DeployOpen approaches Keycloak for DORA ICT access control requirements as a scoped build inside your own infrastructure, starting from the Article 9 duties your ICT risk review will test. We map strong authentication, least-privilege access, change control and session settings to configuration you can show, then document that configuration so your team can explain it. The output is evidence your team and independent reviewers can examine, and DeployOpen does not issue attestations.

How we scope

  • The written scope names the realms, clients, identity sources and admin paths in Keycloak covered by your DORA controls.
  • We agree which systems support critical or important functions since Delegated Regulation (EU) 2024/1774 sets shorter access review intervals for them.
  • Fixed-scope terms set deliverables and timelines in writing before work starts, and ongoing support is available as a retainer.

How we build

  • Configure strong authentication in Keycloak using OTP policies, WebAuthn and passkeys, matched to the user groups and applications in scope.
  • Limit access rights to need using roles and groups, and test that tokens carry only the claims each application requires.
  • Set session lifetimes, move the admin console to its own hostname, and enable login and admin event logging.

How we hand over

  • A written configuration baseline listing realms, clients, authentication flows, password and MFA policies, and session settings as deployed.
  • Access review runbook built on Keycloak user and role exports, timed to the six-month and yearly intervals in Article 21.
  • Evidence packs with configuration exports, change records and test results, which your team and independent reviewers can examine.

How we support

  • Upgrade planning for each Keycloak release, covering the 26.8 notes on SMTP StartTLS, backchannel logout validation and login failure storage.
  • Retainers cover ongoing support, patching, and continuous testing of the in-scope Keycloak configuration after go-live.
  • Retesting after each change to the in-scope realms, so updated controls remain evidenced for the next ICT risk review.

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.