Skip to content
Security

Keycloak tenant isolation at every layer.

Your Keycloak and your PostgreSQL run in a namespace of their own, behind default-deny networking, under the strictest pod security profile, with credentials and backup storage that belong to you alone.

Point here to play
Your namespace
Keycloak Keycloak Postgres primary Postgres replica
  • gateway → Keycloak
  • Keycloak ↔ Keycloak
  • Keycloak → own PostgreSQL
  • primary → replica
  • Prometheus → metrics
Another customer
KeycloakKeycloakPostgresPostgres

Its own namespace, database, credentials and backup container. A connection from here to your Keycloak or your PostgreSQL is refused.

Isolation

Six layers between you and the next customer

Each layer is enforced by a different mechanism. Our CI tests the network layer on every change to the platform: a pod in another namespace must be refused by a customer’s Keycloak and database.

  1. ComputeOne Kubernetes namespace and one Helm release per customer. No Keycloak process is shared between customers.
  2. DataOne PostgreSQL cluster and database per customer, with its own credentials and its own volumes.
  3. NetworkA default-deny network policy in every namespace. Allowed: the gateway to Keycloak, Keycloak to Keycloak, Keycloak to your own database, database replication, and metrics for our monitoring.
  4. Pod securityThe restricted pod security profile is enforced, and every pod runs without root, on a read-only root filesystem, with every Linux capability dropped and the default seccomp profile.
  5. AdmissionKyverno policies refuse any workload that would run as root, use a floating latest tag, or come without resource requests and memory limits.
  6. BackupsSeparate backup storage and a separate identity per customer (a managed identity on Azure), trusted only by that customer’s database.
Around the edges

Traffic, secrets and the images we run

Only three paths are public

The gateway routes /realms, /resources and /admin to Keycloak, over HTTPS only. Health checks and metrics are never exposed publicly.

Secrets stay secrets

Database credentials are generated per customer and handed to Keycloak as Kubernetes secrets. Backups authenticate with a managed identity, not a stored key.

Images pinned and scanned

Every image is pinned by digest and scanned on every change; a high or critical finding stops the change. Keycloak updates are never merged automatically.

Your region, stated plainly

Your Keycloak, its database and its backups stay in the region you choose: Microsoft Azure West Europe, AWS Frankfurt or AWS N. Virginia.

Your part

What stays in your hands

The platform is ours to secure. Your realms are yours to configure, with every control Keycloak has.

  • Password policies, brute-force detection and required actions per realm
  • Two-factor authentication and the flows that ask for it
  • Which clients exist, and what each may request
  • Which identity providers your users may sign in with
Questions

About isolation and data

Do other customers share my Keycloak?

No. Every customer has a Keycloak of their own, in their own namespace, with their own database. Several realms can live in your cluster, but they are all yours.

How are customers kept apart?

Each customer has its own Kubernetes namespace, its own Keycloak and its own PostgreSQL with its own credentials. Network traffic is denied by default, pods run under the restricted security profile, and backups go to a separate storage container with a separate identity.

Where is my data stored?

In the cloud and region you choose: Microsoft Azure West Europe (Netherlands), AWS Frankfurt (eu-central-1) or AWS N. Virginia (us-east-1). Your Keycloak and its PostgreSQL run in that region, and its backups are stored there. On Azure the backup storage is geo-redundant, so Azure also keeps a copy in the paired region, North Europe (Ireland). See the data residency page for every kind of data.

Can you help with our security review?

On Enterprise, yes: we help you answer your security review with how the platform is built and run. Write to us through the contact form.

A Keycloak cluster that is yours alone