English | Deutsch
Open IAM is planned as an open-source IAM/IGA library framework for Kotlin and Java applications. You embed it into your own application; no separate IAM server is required.
Status: specification stage; the code is a first vertical slice, not a release. There is nothing to install. This repository contains requirements, specification, decisions, planning, guides describing the intended behaviour, the build for all modules, and code for the core, PostgreSQL persistence, provisioning and the Keycloak target that carries one path from identity to target. Those documents are written in German.
- Identities: lifecycle with joining, suspension and leaving, import from authoritative sources, non-human identities, organisational structure with managers
- Authorization: its own authorization model with permission queries
- Governance: role and entitlement catalogue, access requests with approval, segregation of duties, time-bound assignments, recertification, entitlement reports
- Provisioning: Keycloak, SCIM 2.0, LDAP, Active Directory, PostgreSQL, AWS IAM, AWS IAM Identity Center, Google Workspace / Cloud Identity, Azure RBAC, Kubernetes RBAC, HashiCorp Vault
- Operations: multi-tenancy, business audit trail, pseudonymisation of configured attributes
Not included: sign-in, multi-factor authentication and single sign-on (provided by an external identity provider, connected through OIDC), and a user interface. Scope and limits are defined in the requirements specification.
There are two library families:
- BLF (
blf-*): a generic Kotlin/JVM core, independent of IAM, for the object and rule model, calculation, processes, catalogue and security context. - Open IAM (
open-iam-*): the IAM/IGA libraries built on the ports of the BLF. The dependency points from Open IAM to the BLF only, never back.
Principles:
- Types in code, business logic declarative. Object types, fields and relations are declared as typed code; a new field is a code change and a new release. What is declarative is the customer's business logic: rules, calculated values, processes and the authorization model. Customer-submitted scripts, SQL fragments or plugins are never executed.
- Your application forms the composition. The framework ships building blocks, not a ready-made composition. It runs in a single JVM process without a message broker, workflow server, Kubernetes, Spring or Micronaut, and equally in a distributed setup with them. The core is usable without a network.
- Ports and adapters. Adapters are to be shipped for PostgreSQL, OIDC, OpenTelemetry, Kafka, NATS and Temporal, plus integrations for Spring Boot and Micronaut. None of them is mandatory; your own adapters are ordinary code. Some ports need an implementation in every application, for example persistence, policy and audit keys.
- Use only what you need. One BOM per family keeps versions consistent.
The module layout is defined in the technical specification, the structure is shown in the architecture view. The two most recent JDK LTS releases are to be supported.
- The requirements specification is a draft and has not been accepted.
- The architecture decisions in
docs/plan/adr/carry their status there; most are still proposed. - The gates check documents and tools, compile and test the modules, and check architecture and design rules (a-check, Detekt). The API compatibility gate will come with the first release.
- The order of work is described in the roadmap.
They are written in German, describe the intended behaviour and make no rules of their own; the technical specification is authoritative.
- Task index: Ich will … (I want to …)
- Getting started: composition, initialisation and integrations, setting up authorization, managing tenants
- Business operations: managing access, managing identities, targets and sources, rule packages, pseudonymisation
- Operations: operator inputs, archive and restore, audit and signing keys, message brokers, limiting rights in target systems, TLS connections
- Extending: writing your own adapter
Examples from the reference application (not requirements): Kubernetes and Helm, migration step tools, identity provider and Active Directory
You need bash, git, GNU make, curl and Docker with Compose.
Document checks only:
make dcheck-fetch # fetches the documentation checker, needs network once
make docs-checkFull setup, needed for make gates:
Warning:
.viper.shis meant for a machine dedicated to this project. It runs on Linux x86_64 only, downloads several hundred megabytes, and linksjava,javac,jar,javadoc,mvn,shellcheckandbatsinto~/.local/bin. Those versions then apply to every project on the machine.
./.viper.sh # pinned tools, build dependencies, documentation checker and commit-msg hook
make gates # runs without networkHow the build is set up and tested: docs/developer/bauen-und-testen.md
(German).
Every commit message names an identifier; the commit-msg hook checks this (make hooks-install). Rules and working
practice are in AGENTS.md and harness/README.md (German); make help lists all
targets.