selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Kanidm logo

Self-host Kanidm

v1.12.0

Identity provider with passkeys, OIDC, LDAP, RADIUS

ReleaseOpen SourceMPL-2.0
Updatedlast week
LanguageRust
Setup difficultyAdvanced
Stars
5 549
Ports
8443 (HTTPS webserver/REST interface (bindaddress)), 3636 (Read-only LDAPS gateway (ldapbindaddress, disabled by default; the quickstart publishes it as 636:3636))
Docker
docker.io/kanidm/server
Install with Docker

What is Kanidm?

Kanidm alternatives

All self-hosted alternatives to Keycloak →

Should you self-host Kanidm?

Kanidm scores 67/100 on selfhost.directory (how scoring works) and ranks #3 of 3 in IAM. It has 5 549 GitHub stars, +108 in the last 30 days.

It shipped 15 stable releases in the past year. The latest, v1.12.0, came out on 1 November 2026. New versions land roughly every 7 days.

Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MPL-2.0-licensed and written mostly in Rust.

Its closest alternative on selfhost.directory is authentik (80/100, 26 266 stars). It scores higher overall, so compare the two before you pick. See Kanidm vs authentik side by side.

Features

  • Application portal
  • CLI administration tooling
  • High-availability replication
  • OAuth2 / OpenID Connect provider
  • Passkeys (WebAuthn) authentication
  • RADIUS Authentication
  • Read-only LDAPS gateway
  • Role-based Access Control
  • Scheduled online backups
  • SCIM data importOnly supported for synchronisation from another IDP at this time.
  • Self-hosted database
  • SSH Key Distribution
  • Two-factor authentication (TOTP)Not advised for high security environments per the project.
  • Unix/Linux integration (PAM and nsswitch)
  • User self-service web UI

Kanidm README

Kanidm - Simple and Secure Identity Management

Kanidm Logo

About

Kanidm is a simple and secure identity management platform, allowing other applications and services to offload the challenge of authenticating and storing identities to Kanidm.

How to install Kanidm

Install Kanidm with Docker

Docker, Podman, or a compatible containerd environment installed and running

docker pull docker.io/kanidm/server:latest

Container started with a /data volume and server.toml; web port published as 443:8443 and LDAPS as 636:3636. Evaluation requires Docker, Podman, or a compatible containerd environment.

How to configure Kanidm

  • bindaddress127.0.0.1:8443Webserver bind address; requires TLS certificates.
  • ldapbindaddressRead-only LDAP server bind address; requires TLS certificates.

    values: "" (disabled)

  • db_path/data/kanidm.dbPath to the Kanidm database.
  • db_fs_typeKnown filesystem so Kanidm can tune the database page size.

    values: zfs, other

  • db_arc_sizeNumber of entries in the in-memory cache; unset uses an automatic heuristic.

    values: Minimum value is 256

Kanidm releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…