ArchyRWS architecture
Menu
Search Archy…

Search Archy

Keycloak — shared identity provider

SBBDraftReview not recorded

Work in progress according to its author.

Local drafting workspace

Keycloak — shared identity provider

Identity/keycloak.md

Local draft — not saved or submitted. Download and use the Git/PR workflow. Changes stay in this page’s memory, never alter the published note, and are lost on reload. The .md download contains the narrative only; preserve the original frontmatter in Git. The preview is not publication validation.

Preview

Images and raw HTML are disabled. Preview links do not navigate. Markdown links are checked when the source is built, not here.

Published source loaded. No local changes.

View source & provenance

Effort scenario: keycloak

Workstream: Identity and trust. Conditional completion hours under the assessment convention; implementation progress is unknown.

Work package Low h Working h High h
Organizational upstream, realm/delegation and MFA design 16 40 80
DCS service, persistence, approved upstream and reusable client setup 24 56 104
Group-boundary, privilege/refusal and upstream-outage qualification 24 48 96
Service maintenance, backup interface and IAM handoff 8 24 40

Sizing confidence: low. Includes IAM-specialist design and integration, assuming one available organizational federation and a supported delegated-group approach. No direct AD replacement, custom federation broker or extra tenant realms are silently selected. Existing service-side MFA/group tests are counted here; cross- consumer enforcement and break-glass demonstration belong to the IAM acceptance outcome. High includes upstream/realm redesign within supported capabilities. Upstream availability, policy decisions and service grants are unestimated lead time; a missing supported delegation model triggers re-estimation, not a guarantee.

Service Information

The assignment identifies Keycloak as the common identity-provider and authentication service for the proposed platform estate and places this block in the IAM architecture domain. The domain is now explicitly supplied; it does not name an architect or establish their delivery commitment. The selected first-release placement is a new Keycloak service on DCS. It supplies common authentication to platform consumers, while its upstream identity feed depends on the organizational IAM services available in time. The proposer identifies the existing AD-backed federation at federatie.rws.nl and the IAM team's newer Keycloak-based federation as candidate upstreams. Their readiness, protocols, trust and service contracts have not been inspected or selected here.

The clarification does not commit to making platform Keycloak authoritative for human-account creation or replacing AD. The goal is common platform-facing authentication regardless of the chosen organizational upstream. Realm boundaries, operating party and the upstream selection remain open; no working federation or availability of the newer service is assumed.

Roadmap and Lifecycle

The delivery outcome is the usable IAM service contract and integration path for the first CLaaS consumers. The broader Federated Authentication ABB separately owns the cross-consumer access demonstration. Estimates, release selection, availability and formal acceptance are not established by this proposal.

The official latest non-prerelease lookup on 2026-10-09 identified Keycloak 26.8.0, published 2026-10-01. This is a research reference only, not the installed or target version.

Architecture

Use Keycloak as the common authentication/federation service for OpenShift, ACM/MCE, Virtualization, DCS and services that support the agreed federation protocols. Each relying service still owns its local authorization: successful login is not cluster administration or permission to read another tenant's data.

The clarified rule is Keycloak when possible, native identities when needed, with platform secrets retained in OpenBao. Qualify each consumer rather than claiming universal protocol compatibility. Kubernetes service accounts, Ceph client identities, TLS authentication and bootstrap/recovery may require their native mechanisms; identify the need, scope and lifecycle for each. Do not replace native protocols with interactive OIDC. Each consumer needs a supported integration, token/claim audience where relevant, permissions and a revocation contract; secret storage alone is not authentication.

Tenant administration and MFA

Tenant self-service is scoped to groups and group memberships for their own clusters. This does not include application-client registration, realm-wide administration, upstream account creation or provider-role delegation. Realm topology is not selected: the proposer considers one realm per tenant wasteful, but has not approved a shared-realm design. Qualify bounded group administration and claim-to-cluster-role mapping so a tenant cannot assign itself provider privileges or change another tenant's groups. An organizational label or filtered console is not an authorization boundary.

The intended MFA policy is required for platform engineers and opt-in for tenants. Establish how the requirement is enforced through AD/Keycloak and how tenant opt-in is administered. This is proposer intent, not a waiver of applicable organizational requirements; any conflict needs an explicit decision. No MFA technology, session policy or completed enforcement test is inferred.

Emergency access

Provide at least two break-glass accounts per provider/platform cluster. Their identity mechanism, privileges, custody, activation, audit, rotation and review procedure still need design. Extending this to hosted tenant clusters is a stretch goal, not a committed March prerequisite. These accounts must supply a usable identity-outage recovery path; recording a count does not prove independence from Keycloak, AD or the secret store. No accounts or credentials have been created by this architecture clarification.

The external engineer-run bootstrap creates the initial DCS hosting environment with independently authorized provider access. The 12 October DCS refinement now requires its local service-platform Operators, both issuer paths and minimal VM-hosting capability before accepted service use. Engineers may establish the baseline and Keycloak with namespace guardrails before activating identity-mapped DCS team access. Keycloak therefore does not wait for that later handover or final ACM integration. The local VM capability is a selected platform-baseline gate, not a new Keycloak deployment topology. DCS-local Operator/VM rollout is estimated in DCS; this note retains Keycloak-specific setup, tests and IAM handover without charging it again. This distinction prevents a false scheduling cycle without inventing an external IdP. Credential handover and independently authorized recovery access still need design and evidence; ordinary SSO cannot be the sole way to restore itself.

Evidence and next detail

Keycloak's official integration overview, consulted 2026-10-09, describes OAuth2/OIDC/SAML integration and client registration. The latest-release lookup establishes the release reference above. No actual federation, effective tenant permissions or enterprise identity agreement was inspected or tested.

Explore this note’s relationships 22 connected notes

Connections are authored references and declared relationships, not verified runtime dependencies or approval.

23 notes · 39 relationships

Every note and relationship is available in the list below. The interactive map requires JavaScript.

Outline is the note kindABBSBBHLDResearchNoteMarkdown referenceTyped relationship
Icon is the documented subjectRegistryIdentityAutomationFleetPlatformSecretsGeneral note
Notes and relationships Accessible list

Notes (23)

Relationships (39)

Source & provenance

This is the published reading view. The Markdown source and Git review workflow remain authoritative; publication is not architectural approval.

Source
Identity/keycloak.md
Identifier
keycloak
Kind
Solution building block
Status
Draft, as authored
Revision
a3203210221340f80866b0462f4d63b49ebc5aea

Review not recorded. A recorded review date is the author’s review of the whole note, not an edit date, build date or approval. Editing a local draft does not update it.

Read the Markdown source

Read-only narrative source. Authored labels and relationships are listed above; this view does not write to the vault.


# Keycloak — shared identity provider

## Effort scenario: keycloak

**Workstream:** Identity and trust.
Conditional completion hours under the [assessment convention](../CLaaS/effort-assessment.md#hours-convention); implementation progress is unknown.

| Work package | Low h | Working h | High h |
| --- | ---: | ---: | ---: |
| Organizational upstream, realm/delegation and MFA design | 16 | 40 | 80 |
| DCS service, persistence, approved upstream and reusable client setup | 24 | 56 | 104 |
| Group-boundary, privilege/refusal and upstream-outage qualification | 24 | 48 | 96 |
| Service maintenance, backup interface and IAM handoff | 8 | 24 | 40 |

Sizing confidence: low. Includes IAM-specialist design and integration, assuming
one available organizational federation and a supported delegated-group approach.
No direct AD replacement, custom federation broker or extra tenant realms are
silently selected. Existing service-side MFA/group tests are counted here; cross-
consumer enforcement and break-glass demonstration belong to the IAM acceptance
outcome. High includes upstream/realm redesign within supported capabilities.
Upstream availability, policy decisions and service grants are unestimated lead
time; a missing supported delegation model triggers re-estimation, not a guarantee.

## Service Information

The assignment identifies Keycloak as the common identity-provider and
authentication service for the proposed platform estate and places this block
in the **IAM architecture domain**. The domain is now explicitly supplied; it
does not name an architect or establish their delivery commitment. The selected
first-release placement is a **new Keycloak service on DCS**. It supplies common
authentication to platform consumers, while its upstream identity feed depends
on the organizational IAM services available in time. The proposer identifies
the existing AD-backed federation at `federatie.rws.nl` and the IAM team's newer
Keycloak-based federation as candidate upstreams. Their readiness, protocols,
trust and service contracts have not been inspected or selected here.

The clarification does **not** commit to making platform Keycloak authoritative
for human-account creation or replacing AD. The goal is common platform-facing
authentication regardless of the chosen organizational upstream. Realm boundaries,
operating party and the upstream selection remain open; no working federation or
availability of the newer service is assumed.

## Roadmap and Lifecycle

The delivery outcome is the usable IAM service contract and integration path
for the first CLaaS consumers. The broader
[Federated Authentication ABB](federated-authentication.md) separately owns the
cross-consumer access demonstration. Estimates, release selection, availability
and formal acceptance are not established by this proposal.

The official latest non-prerelease lookup on **2026-10-09** identified
[Keycloak 26.8.0](https://github.com/keycloak/keycloak/releases/tag/26.8.0), published
2026-10-01. This is a research reference only, not the installed or target version.

## Architecture

Use Keycloak as the common authentication/federation service for OpenShift,
ACM/MCE, Virtualization, DCS and services that support the agreed federation
protocols. Each relying service still owns its local authorization: successful
login is not cluster administration or permission to read another tenant's data.

The clarified rule is **Keycloak when possible, native identities when needed**,
with platform secrets retained in [OpenBao](../Secrets/openbao.md). Qualify each
consumer rather than claiming universal protocol compatibility. Kubernetes
service accounts, Ceph client identities, TLS authentication and bootstrap/recovery
may require their native mechanisms; identify the need, scope and lifecycle for
each. Do not replace native protocols with interactive OIDC. Each consumer needs
a supported integration, token/claim audience where relevant, permissions and a
revocation contract; secret storage alone is not authentication.

### Tenant administration and MFA

Tenant self-service is scoped to **groups and group memberships for their own
clusters**. This does not include application-client registration, realm-wide
administration, upstream account creation or provider-role delegation.
**Realm topology is not selected**: the proposer considers one realm per tenant
wasteful, but has not approved a shared-realm design. Qualify bounded group
administration and claim-to-cluster-role mapping so a tenant cannot assign itself
provider privileges or change another tenant's groups. An organizational label
or filtered console is not an authorization boundary.

The intended MFA policy is **required for platform engineers and opt-in for
tenants**. Establish how the requirement is enforced through AD/Keycloak and how
tenant opt-in is administered. This is proposer intent, not a waiver of applicable
organizational requirements; any conflict needs an explicit decision. No MFA
technology, session policy or completed enforcement test is inferred.

### Emergency access

Provide **at least two break-glass accounts per provider/platform cluster**. Their identity
mechanism, privileges, custody, activation, audit, rotation and review procedure
still need design. Extending this to hosted tenant clusters is a **stretch goal**,
not a committed March prerequisite. These
accounts must supply a usable identity-outage recovery path; recording a count
does not prove independence from Keycloak, AD or the secret store. No accounts or
credentials have been created by this architecture clarification.

The [external engineer-run bootstrap](../Platform/provider-bootstrap.md) creates
the initial DCS hosting environment with independently authorized provider access.
The 12 October DCS refinement now requires its local service-platform Operators,
both issuer paths and minimal VM-hosting capability before accepted service use.
Engineers may establish the baseline and Keycloak with namespace guardrails before
activating [identity-mapped DCS team access](../Platform/datacenter-services-cluster.md#service-team-access-and-governance).
Keycloak therefore does not wait for that later handover or final ACM integration.
The local VM capability is a selected platform-baseline gate, not a new Keycloak
deployment topology. DCS-local Operator/VM rollout is estimated in DCS; this note
retains Keycloak-specific setup, tests and IAM handover without charging it again.
This distinction prevents a false scheduling cycle without inventing an external
IdP. Credential handover and independently authorized recovery access still need
design and evidence; ordinary SSO cannot be the sole way to restore itself.

### Evidence and next detail

[Keycloak's official integration overview](https://www.keycloak.org/securing-apps/overview),
consulted **2026-10-09**, describes OAuth2/OIDC/SAML integration and client
registration. The [latest-release lookup](https://api.github.com/repos/keycloak/keycloak/releases/latest)
establishes the release reference above. No actual federation, effective tenant
permissions or enterprise identity agreement was inspected or tested.