Keycloak with CloudNativePG PostgreSQL on Kubernetes: what the integration does
Keycloak stores its realms, clients, users and sessions in a relational database, and the database layer is the part of the design a platform team has to get right before Keycloak can stay up. Keycloak uses PostgreSQL through its supported database configuration, and CloudNativePG runs that PostgreSQL as a Kubernetes-native cluster, managing the pods, persistent volume claims, failover, backups and version lifecycle that a hand-built PostgreSQL deployment would otherwise leave to your team. The Keycloak high availability blueprints assume a synchronously replicated database for any multi-zone design, so the choice of database operator is tied directly to how Keycloak behaves during a zone failure.
The integration has three parts that interact. Keycloak connects through its database settings, such as the database URL and credentials, to a read-write service that CloudNativePG exposes for the primary. CloudNativePG handles failover through the Kubernetes API server without an external tool such as Patroni, and it supports quorum-based failover and synchronous replication, which are the settings you need to match the Keycloak blueprint. Backups go to object storage through the Barman Cloud plugin, with WAL archiving for point-in-time recovery. Confirm with your Keycloak and CloudNativePG versions which synchronous replication settings the blueprint expects, because a commit that waits on a standby changes write latency for every login.
This page covers the build sequence, how Keycloak settings map to CloudNativePG resources, the security controls around database credentials and Secrets, the tests that prove failover and restore work, and the failure points that remain after go-live. It does not repeat the zone design or sizing guidance, which sit in sibling sections. Read the CloudNativePG documentation alongside the Keycloak database guide before you pick a PostgreSQL major version, since Keycloak supports PostgreSQL 14 to 18 and the upstream support windows differ by version.
What you need before connecting Keycloak to CloudNativePG
Five pieces must line up before the database work starts: the Kubernetes cluster, the Keycloak release and Operator, a supported PostgreSQL major version, a CloudNativePG line, and the storage, certificate and network paths between them. Confirm each version against the current vendor pages on the day you plan the build, because support windows move.
Kubernetes cluster and version support
Confirm your cluster runs a Kubernetes minor version that is still maintained, since the project supports only the three most recent minors. Plan the cluster as multi-zone if the Keycloak design needs it, and check that worker nodes and control plane follow the version skew rules before any upgrade. Ask your platform team who owns the control plane, because etcd backups and Secret encryption at rest affect where Keycloak's database credentials end up.
- Maintained minor releases
- 3
Keycloak release and Operator method
Choose the Keycloak release line you will run and pin it in the Keycloak custom resource. Install the Keycloak Operator through Operator Lifecycle Manager, which the project recommends, and set operator updates to manual approval so a database schema migration never starts without a planned window. Confirm the current release on the Keycloak site before you write manifests.
- Current Keycloak release
- 26.8.1
PostgreSQL major version within Keycloak support
Keycloak supports PostgreSQL 14 to 18 in production, so pick a major version from that range that will still be supported for the life of the deployment. PostgreSQL 14 support ends November 12, 2026, which makes it a poor starting point for a new build. PostgreSQL 18 is supported until November 14, 2030, and PostgreSQL 17 until November 8, 2029. Confirm the Keycloak database guide still lists your chosen version.
Keycloak database guideCloudNativePG release line
CloudNativePG 1.30.1 and 1.29.3 were released on September 23, 2026, and both are maintained minor lines. Choose one, record it in your change plan, and confirm that its supported PostgreSQL and Kubernetes versions match the choices above. Ask your team how it will track patch releases, since a security fix on one line may need an upgrade to the other.
CloudNativePG releasesObject storage for backups
Point-in-time recovery and scheduled backups through the Barman Cloud plugin need an object storage bucket that the database pods can write to and that sits outside the Kubernetes cluster. Confirm the bucket's region, retention rules, access policy and encryption with your storage owner. Keep the backup credentials separate from Keycloak's application credentials, and decide who may read or delete the bucket before the first backup runs.
CloudNativePG docsTLS, certificates and network paths
Keycloak's production guide calls for TLS on all communication, so plan certificates for the connection from Keycloak pods to the database and confirm that the database endpoint accepts them. Map each network path: Keycloak pods to the database service, the database to object storage, and the metrics scraper to the Keycloak management port. Check that network policies allow only those flows, and that the admin hostname stays separate from public frontend URLs.
Production configurationHow to configure Keycloak on a CloudNativePG cluster
This sequence takes a team from an empty Kubernetes namespace to a Keycloak instance backed by a multi-zone PostgreSQL cluster with scheduled backups, monitoring and a rehearsed recovery path.
Install the CloudNativePG operator
The platform team installs the CloudNativePG operator into the cluster, either with the project's published manifests or through the method your organization already uses for cluster add-ons. Confirm the operator version against the CloudNativePG documentation and the GitHub releases page, and choose a maintained minor line. The step is done when the operator deployment reports ready and the CRDs for the PostgreSQL Cluster resource are registered in the cluster.
Create a multi-zone PostgreSQL cluster
Define a PostgreSQL Cluster resource with one primary and at least two standbys, spread across nodes in different availability zones using pod anti-affinity or topology spread constraints. Enable synchronous replication, because the Keycloak high availability designs documented by the project require a synchronously replicated database, and confirm the PostgreSQL major version against the supported versions list. Check that all instances report as healthy and that one is the primary before moving on. Confirm the replication settings with your database owner, since the commit latency cost of synchronous replication depends on the inter-zone network.
Create the Keycloak database role and secret
Create a dedicated database and a login role for Keycloak with ownership limited to that database, then store its password in a Kubernetes Secret. Use CloudNativePG's managed roles configuration so the role and its password are reconciled by the operator rather than set by hand. Restrict who can read the Secret with RBAC, and confirm encryption at rest for Secrets is configured, since Kubernetes stores Secrets unencrypted in etcd by default. The check is a successful connection from a temporary pod using the Keycloak role and the database name.
Point the Keycloak custom resource at the database
Install the Keycloak Operator through Operator Lifecycle Manager, set operator updates to manual approval as the project recommends, and create a Keycloak custom resource. Set the database vendor to PostgreSQL, reference the Secret for credentials, and point the database host at the read-write service of the CloudNativePG cluster. Keep the schema migration at its default, automatic at startup, for the first deployment. The check is a Keycloak pod that starts, completes the schema migration in its logs and reports ready on its health endpoint.
Schedule S3 backups and WAL archiving
Configure object storage credentials for the Barman Cloud plugin, then define a scheduled backup and continuous WAL archiving to a bucket in infrastructure you control. Point-in-time recovery depends on WAL archiving, so both must be active together. Ask your storage team to confirm bucket retention, encryption and access policies before the first backup runs. The check is a completed base backup listed in the cluster status and WAL segments appearing in the bucket.
Enable metrics and alerting for the database
Enable the CloudNativePG metrics endpoint and create a PodMonitor or equivalent scrape configuration for your Prometheus setup. Keycloak metrics are exposed at /metrics on its management interface when started with metrics enabled, so scrape both the database and the identity service and watch connection counts against the pool limits you configure. Add alert rules for replication lag, failed backups and instance restarts. The check is that both targets show as up in Prometheus and a test query returns replication status for every standby.
Rehearse switchover and restore in a test namespace
In a separate test namespace, restore the latest base backup and replayed WAL to a new CloudNativePG cluster, then confirm the Keycloak schema and a test realm are present. In the production-like cluster, trigger a planned switchover while a login test runs, and record how long Keycloak clients see errors. Measure the recovery point and recovery time you actually achieved and compare them with your targets. The step closes when the restored database answers queries, a test login succeeds and the results are written into your runbook.
How the Keycloak, CloudNativePG and backup components connect
The diagram starts at Keycloak pods in the application namespace, which reach the database through a PgBouncer pooler in front of the CloudNativePG cluster. Writes go to the primary, which replicates synchronously to standbys in other zones, and the Kubernetes API drives failover without an external tool such as Patroni. WAL archives and base backups leave the database namespace for S3-compatible object storage, which sits outside the cluster's trust boundary. Check that each hop crosses only the credentials and network paths you have approved, and that the backup store's access is separate from the database's.
Keycloak reaches a CloudNativePG cluster through a pooler, with backups leaving the cluster.
Which Keycloak settings map to which CloudNativePG resources
This table pairs each Keycloak database setting with the CloudNativePG object that supplies or controls it. Read it top to bottom when you write the Keycloak Deployment and the Cluster manifests together, since a mismatch in host, port or credentials is the most common cause of a failed first start. Schema creation and migration happen in Keycloak, not in the operator, so plan that step explicitly.
| Keycloak setting | CloudNativePG resource | What to confirm |
|---|---|---|
Database kind (KC_DB=postgres) | Cluster spec.imageName (PostgreSQL 14 to 18) | Pick a PostgreSQL major version that Keycloak lists as supported and that is still within PostgreSQL's support window. |
Database host (KC_DB_URL_HOST) | Read-write Service created for the Cluster | Point Keycloak at the read-write Service so connections follow the primary after a switchover or failover. |
Database port (KC_DB_URL_PORT) | Service port of the Cluster or Pooler | Use the port the Service exposes, and the Pooler port if PgBouncer sits in front of the database. |
Database name (KC_DB_URL_DATABASE) | Cluster spec.bootstrap.initdb.database and owner | Create the database and owner at bootstrap so Keycloak starts with the right privileges. |
Username and password (KC_DB_USERNAME, KC_DB_PASSWORD) | Basic-auth Secret referenced by the Cluster owner credentials | Confirm rotation: a changed Secret needs a Keycloak restart to take effect. |
Pool sizes (KC_DB_POOL_INITIAL, KC_DB_POOL_MIN, KC_DB_POOL_MAX) | Cluster max_connections and Pooler pool settings | Keep the Keycloak pool total within the connection budget of the Cluster or Pooler across all replicas. |
TLS (KC_DB_URL_PROPERTIES with sslmode) | Cluster certificate settings and CA Secret | Confirm which CA the Keycloak pods trust and that certificate rotation is covered by a restart plan. |
| Schema creation and migration (automatic at startup by default) | None (handled inside Keycloak) | Automatic migration runs when a pod starts. For large deployments, the upgrading guide suggests applying the SQL manually instead. |
| Backups (WAL archive and base backups) | Barman Cloud plugin objects and ScheduledBackup, with an object storage Secret | Confirm the bucket, retention and restore test. A realm export is not a database backup. |
| Metrics (Prometheus scrape of the database) | PodMonitor or metrics endpoint enabled on the Cluster | Monitor connection counts and replication lag alongside Keycloak's own pool metrics at /metrics. |
How CloudNativePG handles switchover and failover for Keycloak
CloudNativePG handles promotion through the Kubernetes API rather than through an external failover tool such as Patroni, so the failover decision sits in the same control plane that runs the database pods. That matters because PostgreSQL does not detect a failed primary or notify a standby on its own. Something outside PostgreSQL has to notice the failure and promote a replica, and in this design the CloudNativePG operator fills that role. Your team should confirm which replication mode the cluster uses before go-live, because synchronous replication with quorum-based failover is what keeps committed Keycloak writes, such as new sessions and changed user data, available on the promoted standby.
Keycloak itself does not survive a promotion invisibly. While the new primary is elected and the Keycloak connection pool reconnects, in-flight requests can fail, and some logins or token refreshes may need to be retried by the client. Keycloak's database connection settings, including pool sizing and connection timeouts, determine how quickly the nodes recover once the new primary accepts connections. Confirm with your application owners which error responses their clients treat as retryable, and check how the Keycloak nodes behave during the gap before you rely on the figures in any sizing or availability target.
Test switchover in a staging cluster with a Keycloak load running, not only with an idle database. Trigger a planned switchover and an unplanned primary failure (for example, by deleting the primary pod), and record how long login and token endpoints return errors, whether any user sessions are lost, and whether the old primary rejoins as a replica. Repeat the test after each CloudNativePG or Keycloak upgrade, since both change operational behavior. The results should drive your connection timeout settings, your client retry policy and the availability commitment you give your own users.
Securing the database layer under Keycloak
The database holds Keycloak's users, credentials, sessions and client secrets, so its security depends on the same controls as the identity service itself. The cards below cover the connection path, the database roles and authentication, the Kubernetes controls around secrets and pods, backup handling and the separation of Keycloak's admin endpoints from public traffic.
TLS between Keycloak and PostgreSQL
Encrypt the connection from each Keycloak pod to the PostgreSQL primary and any read path, and verify the server certificate instead of trusting any certificate presented. Confirm that the CloudNativePG cluster issues certificates that Keycloak's JDBC settings can validate, and that certificate rotation does not require a manual restart of every Keycloak pod. Also check whether traffic between database pods for replication is encrypted within your cluster network.
Keycloak production guideSCRAM instead of MD5 passwords
Set the PostgreSQL password authentication method to SCRAM-SHA-256 for the Keycloak role and for every administrative role. PostgreSQL 18 deprecated MD5 password authentication in favor of SCRAM, so a configuration that still allows MD5 will need changes before a future major upgrade. Check the pg_hba.conf rules that CloudNativePG generates, and confirm that the Keycloak JDBC driver version negotiates SCRAM with your chosen PostgreSQL version.
Least-privilege database roles
Create a dedicated Keycloak application role that owns only the Keycloak database, and keep superuser and CloudNativePG operator credentials out of application configuration. Separate the schema-owning role used during upgrades from the runtime role if your change process requires it, so a compromised pod cannot alter other databases. Review which roles can read the connection secret, and test that the runtime role cannot create roles or drop databases.
Secret encryption and RBAC
Kubernetes stores Secrets unencrypted in etcd by default, and the database password, the CloudNativePG superuser secret and backup credentials all live there. Enable encryption at rest for the Secret resource on your distribution, and restrict get, list and watch on Secrets in the database and Keycloak namespaces to the service accounts that need them. Consider an external store through the Secrets Store CSI Driver if your security policy requires keys outside the cluster.
Kubernetes Secrets practicesPod Security Standards for the database namespace
Apply the restricted Pod Security Standard to the namespace that runs PostgreSQL pods and the CloudNativePG operator, then confirm that the operator and its instance pods still start without privileged settings. Disallow privilege escalation, require a non-root user and restrict host path volumes so that database data directories cannot be read from the node. Test the policy in a staging namespace first, because a strict profile can block storage or backup sidecars that need extra permissions.
Pod Security StandardsBackup encryption and object storage policies
CloudNativePG writes base backups and WAL archives to object storage through the Barman Cloud plugin, so those copies hold the same user and credential data as the live database. Encrypt backups before they leave the cluster or enable server-side encryption on the bucket, scope the storage credentials to one bucket and prefix, and deny deletes to the backup writer where your retention rules allow it. Ask who can read the bucket, and test a restore with credentials that a recovery engineer actually holds.
Separating Keycloak admin endpoints
Keycloak's production guidance is to serve the admin console and Administration REST API on a hostname or context path that differs from public frontend URLs, and to keep the management interface, including /metrics, off the public network. Apply this to the Keycloak deployment that talks to the database, so the database credentials and admin paths are never reachable from the internet. Confirm that network policies allow only the Keycloak pods to reach PostgreSQL port 5432, and that only your monitoring namespace can scrape metrics.
Failures that break Keycloak on CloudNativePG and how to fix them
This table lists the failures teams most often hit when Keycloak runs on a CloudNativePG-managed PostgreSQL cluster, with the cause and fix for each. Use it as a triage checklist during design reviews, load tests and incident drills, and check each fix against your own cluster settings before you rely on it.
| Failure | Likely cause | Fix |
|---|---|---|
| Connection pool exhaustion | Keycloak pool size exceeds what the PostgreSQL max connections or the PgBouncer pool can serve across all Keycloak pods | Set Keycloak pool sizes so the total across pods fits the database limit, enable CloudNativePG's PgBouncer pooler, and watch pool metrics under load |
| Schema migration fails at startup | Several Keycloak pods start at once against an older or partly migrated schema, or the database role lacks DDL rights | Confirm the database user can alter the schema, upgrade one pod first, or apply the migration SQL manually as the upgrading guide describes for large deployments |
| Replica lag slows logins | Synchronous replication waits for a standby that is slow, saturated or in a distant zone, so every commit stalls | Check standby lag and I/O before go-live, keep synchronous standbys in low-latency zones, and confirm the commit budget with a load test |
| Stale connections after failover | Keycloak pools still hold connections to the former primary until they time out or fail | Use the CloudNativePG read-write service endpoint, set connection lifetime and validation settings in the pool, and test a switchover while logins run |
| Backup job fails on object storage credentials | The backup secret is missing, expired or lacks write permission on the bucket, or the endpoint setting is wrong | Recreate the credentials with write and list rights on the target bucket, verify the Barman Cloud plugin configuration, and run a manual backup to confirm |
| WAL archive gap | WAL archiving stopped while the bucket was unreachable or a credential changed, so the point-in-time recovery chain breaks | Alert on archiving status, restore the archive path, take a fresh base backup, and rehearse recovery to a point after the gap |
| PostgreSQL version outside the supported range | The cluster runs a major version that Keycloak does not support or that PostgreSQL no longer maintains | Check the Keycloak database guide for supported PostgreSQL versions and the PostgreSQL versioning policy dates, then plan a major upgrade with logical replication or pg_upgrade |
CloudNativePG or a managed cloud PostgreSQL service for Keycloak
The core decision is who carries the database operations: your platform team running CloudNativePG inside your Kubernetes clusters, or a cloud provider running a managed service such as Amazon Aurora PostgreSQL, which Keycloak lists among its supported production databases. With CloudNativePG, your team owns backups to object storage, scheduled base backups, WAL archiving, switchover and recovery drills, minor and major PostgreSQL upgrades, and the Kubernetes and operator versions underneath them. With a managed service, the provider handles much of the infrastructure lifecycle, while your team still owns schema, parameter choices, backup retention settings, restore testing and the access model. Write these responsibilities down as a RACI table before comparing prices, because the gap between the two options is mostly about who is on call at 3 a.m. for a failed failover.
Data residency and cloud constraints often settle the question before operations do. CloudNativePG keeps the database in the clusters, accounts and data centers you choose, including air-gapped or on-premises sites, and its backups go to object storage you control. A managed service keeps data in the provider's regions and ties your identity database to that provider's control plane. Confirm with your compliance and legal teams where login data, backups, logs and replicas may reside, whether the managed service offers the region and encryption key control you need, and whether your cloud contract already covers the service. Also confirm that your Keycloak version and the Aurora PostgreSQL version you plan to use are both on the supported lists in the Keycloak database guide before you commit.
Cost is also a question of structure rather than a single number. CloudNativePG costs are mostly the compute, storage and backup capacity you already run, plus the engineering time to build and test the platform, which recurs with each upgrade cycle. Managed service costs usually include instance and storage fees plus backup and replication charges that scale with the database, and they carry less internal engineering time but less control over tuning. Ask any partner or provider for a quote that separates one-time setup from recurring operations, names who performs each upgrade and restore test, and states the skills your team must keep. If your Kubernetes platform team is already running stateful workloads with tested recovery, CloudNativePG is a natural fit. If it is not, a managed service may be the lower-risk choice for a Keycloak database.
Questions teams ask before running Keycloak on CloudNativePG
What does a CloudNativePG build for Keycloak cost, and what drives the effort?
The cost is the fixed-scope fee for the agreed work, which DeployOpen states in writing before work starts; DeployOpen does not publish a price list, so a quote follows from the written scope. The main effort drivers are the number of Keycloak clusters and environments, whether the design spans more than one availability zone, how many backup targets and retention rules you need, the monitoring stack you already run, and how much of the runbook work (switchover, restore and failover drills) is included. One-time costs cover design, build and testing. Recurring costs cover your own infrastructure, object storage, and any retainer for upgrades and continuous support. Ask every quote to list which of these items it includes and which it leaves to your team.
How long does a Keycloak CloudNativePG build take?
The timeline depends on the scope agreed in writing, not on a fixed duration this page can promise. The largest factors are the number of environments, whether synchronous replication across zones must be proven under load, how many restore drills you require, and how quickly your platform team can provide the Kubernetes cluster, storage classes and object storage buckets. Load testing against the Keycloak sizing guide and disaster recovery drills add time when they are included. Ask for a milestone plan in the quote that shows which steps depend on your access and approvals.
What must our team provide before the build starts?
Your team provides the target Kubernetes clusters and their upgrade status, the storage classes and CSI support for the database volumes, an object storage bucket with credentials and retention requirements, TLS certificates, and a DNS and ingress plan for Keycloak. You also provide the decision on Keycloak's database and high availability architecture, the names of approvers for production changes, and access to your monitoring and alerting tools. Confirm with your platform team whether Kubernetes Secrets will be encrypted at rest and who controls the database credentials, because Kubernetes stores Secrets unencrypted in etcd by default.
Can our own team run this without a partner?
Yes, if your team already operates Kubernetes, PostgreSQL and Keycloak in production and has the time to build and test the runbooks. CloudNativePG handles automated failover through the Kubernetes API server without external tools such as Patroni, which reduces the moving parts. The hard parts are the ones you must rehearse: backup restore to a point in time, switchover under load, and Keycloak's upgrade sequence. Ask whether your team can run a restore drill and a failover test on a non-production copy and record the results before go-live. If that work is not planned, a fixed-scope engagement can cover it.
Does CloudNativePG work with a multi-zone Keycloak design?
CloudNativePG supports synchronous replication and quorum-based failover, which are the properties a multi-zone Keycloak database needs. Keycloak's documented high availability designs require a synchronously replicated database, so the database placement, commit latency between zones and the quorum settings must be designed together with the Keycloak cluster. Keep the latency budget in mind: a commit that waits for a standby in another zone adds that round trip to every write. Confirm the exact replication settings and zone placement against the CloudNativePG documentation for the version you plan to run, and test a zone loss before you rely on it.
How are backups and recovery tested?
Backups should be tested by restoring them, not by checking that a job completed. CloudNativePG supports backups to object storage through the Barman Cloud plugin, volume snapshot backups, and WAL archiving with point-in-time recovery. A useful test restores a backup into a separate namespace, replays WAL to a chosen time, starts Keycloak against the restored database, and confirms that logins and token issuance work. Record how long the restore took and how much data was lost, then compare those results with your recovery objectives. Keycloak configuration, providers and themes are not stored in the database, so include them in the same recovery drill.
In what order should PostgreSQL, CloudNativePG and Keycloak be upgraded?
Upgrade one component at a time, in a non-production environment first. Keycloak migrates its database schema automatically at startup by default, and it also supports manual migration where administrators apply the SQL themselves, which the upgrading guide suggests for large deployments. PostgreSQL minor releases replace executables and require a restart, while major upgrades use pg_dumpall and restore, pg_upgrade, or logical replication, and logical replication allows major upgrades with only several seconds of downtime. Check the Keycloak release notes and the supported PostgreSQL range before you change either, because Keycloak supports PostgreSQL 14 to 18. Keep the CloudNativePG operator on a maintained minor line, and keep Keycloak Operator updates in manual approval mode.
Why use CloudNativePG instead of a managed cloud database?
Choose CloudNativePG when you need the database inside infrastructure you control, such as a private cloud, data center or restricted network, or when your platform standard is Kubernetes. A managed service such as Amazon Aurora PostgreSQL is also a supported Keycloak database and removes much of the operational work, but it moves backup, patching and failover behavior to the provider's model. Compare the two on the controls your auditors ask about, the recovery features you can test, the upgrade process, the monitoring you can attach, and the total recurring cost. The trade-off is that CloudNativePG shifts operating responsibility, including storage performance and Kubernetes upgrades, to your team.
How DeployOpen scopes and delivers this Keycloak database integration
DeployOpen plans, builds and hands over the PostgreSQL database behind Keycloak on Kubernetes, with CloudNativePG as the operator and the Keycloak blueprints as the reference for topology, backups and recovery. Each engagement starts from a written scope that is agreed before work begins, so your team knows what is built, tested and documented.
How we scope
- We confirm your Kubernetes distribution, cloud accounts or data centers, and how many availability zones you can use for the database.
- We agree the backup target, retention, and whether recovery must be tested against a point-in-time restore.
- We record the monitoring, access and secrets decisions in the written scope before any cluster is built.
How we build
- We install CloudNativePG and configure the PostgreSQL cluster with the synchronous replication settings your Keycloak design requires.
- We wire Keycloak to the database service, configure connection pooling and set the Keycloak Operator to manual approval for updates.
- We test switchover, failover and a point-in-time restore on a non-production copy before go-live.
How we hand over
- You receive the manifests, runbooks for switchover and recovery, and a record of the configuration choices and their reasons.
- We document the Prometheus metrics, alerts and backup checks your operations team needs to watch.
- We walk your engineers through a recovery drill so they can run the procedure without us.
How we support
- Ongoing support, PostgreSQL and CloudNativePG upgrades, and continuous testing are available as a retainer.
- Retainer work can include reviewing each Keycloak and PostgreSQL minor release before it reaches your environment.
- We re-run backup restore and failover tests after material changes to the cluster, the database or Keycloak.

