Technology · Agentic → IAM · Open Source · wiki:deep

Keycloak

Keycloak is open-source identity and access management: add authentication to applications and secure services without building your own user store. It provides user federation, strong authentication, user management, fine-grained authorization, and related IAM features. Run from the official distribution (bin/kc.sh start-dev) or container (quay.io/keycloak/keycloak). CNCF-aligned Apache-2.0 project with Java server and client adapters.

Why it matters here

Agents and humans need a shared notion of who is acting. Keycloak is the research default for IdP/SSO/federation in the IAM cell — principals that Cedar/OPA policies can name. Prefer OPA/Cedar for authorization decisions once identity is established; prefer Earned Autonomy Protocol for how execution scope expands with evidence.

How it works

Operators deploy Keycloak as the identity provider. Applications and APIs delegate login/token issuance; Keycloak federates directories, issues tokens, and can enforce authorization settings. Clients use Keycloak adapters/SDKs for OIDC/SAML flows.

  1. Deploy Keycloak (distro or container).
  2. Configure realms, clients, users/federation.
  3. Apps redirect/authenticate via OIDC/SAML.
  4. Downstream services trust tokens; pair with OPA/Cedar for fine-grained resource authz if needed.

Related: cedar · earned-autonomy-protocol · open-policy-agent · topics/13-governance-policy

Flow

Scroll inside the canvas to pan

When to reach for it

  • Use when: you need identity, SSO, federation, and user management for humans/services.
  • Skip when: you only need a policy engine (opa, cedar) or autonomy methodology (earned-autonomy-protocol) without an IdP.
  • Prefer instead: managed IdPs if ops cost dominates; keep OPA/Cedar for resource decisions.

Limits

  • Ops weight: realms, HA, upgrades are real SRE work.
  • Authn ≠ authz completeness: fine-grained resource rules often still need OPA/Cedar.
  • Token misuse: agents holding credentials need vaulting and short TTL — IdP alone is not enough.
  • Not the ledger: identity ≠ declared company process authority.

Linked from

What we checked

Claims below are backed by science sources on disk.

IdP / IAM product role

keycloak/keycloak · MODERATE

Open Source Identity and Access Management For Modern Applications and Services

Docs / operators

Keycloak documentation · MODERATE

Add authentication to applications and secure services with minimum effort. No need to deal with storing users or authenticating users.

Contrast vs OPA

OPA contrast · MODERATE

Open Policy Agent (OPA) is an open source, general-purpose policy engine.

In this research stack

Features and peers linked from the catalog map — not a second product surface.

Features it supports

Same cell

Stack

Document management

Source

Primary repo github.com/keycloak/keycloak · Open Source

technologies/keycloak/README.md

Research inventory

9 tags · 41 out · 42 in · 3 artifacts · 0 gaps · 39 corpus docs

Catalog tags

landscape.layer
Agentic
landscape.subcategory
IAM
license_tag
Open Source
maps.dm
present
maps.features
14
one_liner
Agentic
review.depth
science
slug
keycloak
title
Keycloak

Artifacts

  • dm_map · present · technologies/keycloak/document-management.md
  • features_map · present · technologies/keycloak/features.md
  • readme · present · technologies/keycloak/README.md

Out · alternative_to

Out · dm_axis

Out · maps_to

In · alternative_to

In · dm_axis

In · in_stack

In · maps_to

Corpus tags

category
Agentic → IAM
dedication
open-source
feature
access-vs-authority
agent-identity-interoperability
autonomy-levels
deployment-data-residency
exception-first-participation
governance
job-healthcare
job-hr
job-security
live-work-portals
r2-13-governance-policy
security-identity-governance
wt-human-policy
wt-reuse-deploy-govern
kind
map_edge
tech_features
tech_quote
tech_readme
tech_science_source
tech_section
needs_deepen
false
quality
ok
section
Document management map
Evidence
Features map
GitHub map
How it works
Limits & failure modes
Links
Scientific notes
What it is
When to use / skip
Why it matters here
slug
keycloak
source_id
keycloak-docs
keycloak-github
opa-contrast
technology
keycloak

Corpus documents (39)

map_edge · 14

  • keycloak → access-vs-authority
  • keycloak → agent-identity-interoperability
  • keycloak → autonomy-levels
  • keycloak → deployment-data-residency
  • keycloak → exception-first-participation
  • keycloak → governance
  • keycloak → job-healthcare
  • keycloak → job-hr
  • … +6 more

tech_features · 1

  • Keycloak · features

tech_quote · 9

  • Keycloak · keycloak-docs
  • Keycloak · keycloak-docs
  • Keycloak · keycloak-docs
  • Keycloak · keycloak-github
  • Keycloak · keycloak-github
  • Keycloak · keycloak-github
  • Keycloak · opa-contrast
  • Keycloak · opa-contrast
  • … +1 more

tech_readme · 1

  • Keycloak

tech_science_source · 3

  • Keycloak · keycloak-docs
  • Keycloak · keycloak-github
  • Keycloak · opa-contrast

tech_section · 11

  • Keycloak · Document management map
  • Keycloak · Evidence
  • Keycloak · Features map
  • Keycloak · GitHub map
  • Keycloak · How it works
  • Keycloak · Limits & failure modes
  • Keycloak · Links
  • Keycloak · Scientific notes
  • … +3 more