User and operator guide · Operations

Keycloak Compatibility

Status: currentReviewed: 2026-07-12Audience: migration lead, identity engineer, federation engineer
On this pageOfficial AnchorsCollect The Source BundleAtlas Import ProcedureRealm-Aware Target DetectionMapping RulesValidation Checklist

Use this runbook when Atlas must ingest and validate Keycloak realms, clients, roles, groups, identity providers, authentication flows, and event evidence.

Official Anchors

Area Official documentation

Realm import/export

Importing and exporting realms

Server administration

Keycloak Server Administration Guide

Collect The Source Bundle

Artifact Collect Atlas handling

Realm export

Export realm metadata, clients, roles, groups, identity providers, flows, mappers, required actions, and policy settings.

Normalize into application, federation, identity, policy, and governance staging packages.

Users

Prefer controlled user exports or Admin API reads that exclude credential material unless the migration requires restricted evidence.

Create identity records and source provenance; credentials remain out of Atlas artifacts.

Clients

Capture client ID, protocol, redirect URIs, scopes, mappers, service account settings, and owner.

Create app onboarding and API access packages.

Identity providers

Capture OIDC/SAML provider settings, issuer/entity ID, metadata, signing keys, and mapper rules.

Create federation provider staging packages.

Events

Export admin and login events for the migration window.

Attach to audit comparison and evidence packages.

Atlas Import Procedure

  1. Export a realm from a maintenance or read-only window when practical.

  2. Treat exports as sensitive until scanned; realm exports can contain material that must not become an Atlas artifact.

  3. Dry-run import the realm export and review redaction, unsupported flow executions, custom authenticators, custom mappers, and missing owners.

  4. Import clients into Application Onboarding and API Access staging.

  5. Import identity providers into Federation staging and validate positive and negative cases.

  6. Import roles and groups into governance and directory staging.

  7. Validate authentication-flow mappings as Atlas policy or authn assurance behavior. Custom provider code remains review-required.

  8. Compare event evidence before cohort cutover.

Realm-Aware Target Detection

For per-application onboarding (rather than a bulk realm import), the express wizard’s Analyze & connect is Keycloak-realm-aware: pasting any realm URL — modern /realms/{realm}/…​ or legacy /auth/realms/{realm}/…​ — side-probes that realm’s OIDC discovery document, UMA 2.0 discovery document, and SAML IdP descriptor automatically, for both URL prefixes. The verdict names the Keycloak realm in its evidence when the issuer path is /realms/{realm}, and a permission_endpoint in the discovery document is called out as UMA 2.0 support. The realm segment is charset-validated and the derived probes stay on the pasted host, so the probe cannot be redirected off-origin.

Mapping Rules

Keycloak concept Atlas destination

Realm

Source profile, tenant boundary metadata, and migration evidence.

Client

Application onboarding draft, federation client, or API access client.

Client role or realm role

Governance entitlement, role mapping, or access policy subject.

Group

Directory group and governance assignment source.

Identity provider

Federation provider staging package.

Protocol mapper

Claim mapping with review-required status for custom or unsupported transformations.

Authentication flow

Authn assurance and policy staging; custom executions require review.

Validation Checklist

Check Required proof

Sensitive export handling

Realm and user exports are scanned, redacted, hashed, and restricted before review.

Client compatibility

Each publishable client has positive and negative SSO evidence.

Claim mapping

Protocol mappers are represented as Atlas claim mappings or review-required items.

Flow safety

Authentication-flow behavior is tested or remains inactive.

Audit continuity

Admin and login events are correlated with Atlas audit evidence.