# Kanidm

> A simple, secure, and fast identity management platform

Source: https://talira.ai/catalog/kanidm-9ddvvv3g
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Web app, Command-line tool
- Categories: [security / auth / identity provider](https://talira.ai/categories/security/auth/identity-provider), [security / auth / directory services](https://talira.ai/categories/security/auth/directory-services), [security / auth / sso](https://talira.ai/categories/security/auth/sso), [security / auth / radius](https://talira.ai/categories/security/auth/radius)
- Platforms: linux, docker, macos, web, cli[^8][^10]
- Licence: MPL-2.0[^6][^7]
- Pricing: Free and open source[^5][^6]
- Pricing notes: Free under MPL-2.0; community support through GitHub discussions and a Matrix channel.
- Free tier: yes[^5][^6]
- Self-hostable: yes[^5][^8]
- API: yes[^9]
- Backed by: [Kanidm](https://talira.ai/orgs/kanidm.md)

Kanidm is a self-hosted identity management server written in Rust that aims to be a complete identity provider on its own, without [Keycloak](https://talira.ai/catalog/keycloak-jw9hhr96.md) or a separate LDAP server beside it. One server is an OAuth 2.0 and OpenID Connect provider with passkeys (including attested passkeys) and TOTP, gives Linux and Unix machines accounts through PAM and nsswitch with offline logins, distributes SSH keys, authenticates Wi-Fi and VPN users over RADIUS, and offers a read-only LDAPS gateway for older apps. It favours strict, secure defaults: TLS is mandatory everywhere, data lives in its own embedded [SQLite](https://talira.ai/catalog/sqlite-cys3nt23.md) database, and two servers can replicate for high availability. Administration is mainly through the kanidm CLI, while the web UI is for users' self-service and an application portal. It's an MPL-2.0 community project started by an Australian developer, and it can import users from [FreeIPA](https://talira.ai/catalog/freeipa-9868f9g3.md) or LDAP to run alongside them or migrate.

## Links

- Website: https://kanidm.com/
- GitHub: https://github.com/kanidm/kanidm
- Docs: https://kanidm.github.io/kanidm/stable/

## Problems it solves

- one self-hosted login for my homelab apps with passkeys instead of passwords
- single sign-on for my self-hosted web apps over OpenID Connect without running Keycloak and an LDAP server
- log in to my Linux servers with the same accounts as my web apps, even when the server is offline
- distribute SSH public keys to all my hosts from a central user directory
- authenticate Wi-Fi and VPN users against our identity server over RADIUS with a separate network password
- give legacy apps that only speak LDAP read access to our users and groups
- a lighter alternative to FreeIPA for managing Linux users and groups
- require hardware security keys from specific vendors for our administrators
- migrate users from FreeIPA or an LDAP directory to a modern identity server
- an identity provider that refuses insecure OAuth setups by default, like missing PKCE
- let users reset their own credentials from a link or QR code an admin sends
- a small, fast identity server that runs in a single container

## Features

- passkeys (WebAuthn) and attested passkeys, with account policy on allowed authenticators
- password plus TOTP, prompting for the TOTP first
- OAuth 2.0 and OpenID Connect provider: authorization code with PKCE, client credentials, token exchange, introspection and revocation
- application portal of linked applications
- Linux and Unix integration through PAM and nsswitch, with TPM-protected offline authentication
- SSH public key distribution to hosts
- RADIUS with MSCHAPv2 and EAP-TLS, through a provided RADIUS container
- read-only LDAPS gateway for bind and search
- role-based access control and delegated admin groups
- two-node replication for high availability
- web UI for user self-service and credential reset links
- kanidm CLI for administration
- REST API with an OpenAPI schema and Swagger UI; service account API tokens
- sync from FreeIPA and LDAP (RFC 4533) to run alongside or migrate
- Rust client library (kanidm_client) and Python module (kanidm on PyPI)
- Docker images for the server, RADIUS and tools; packages for openSUSE, Arch Linux, NixOS, Alpine Linux, FreeBSD, Debian, Ubuntu, Fedora and macOS (Homebrew tap)
- quarterly releases, each supported for 4 months

## Limitations

- Doesn't support SAML: its supported standards are OAuth 2.0 and OpenID Connect, read-only LDAP and RADIUS[^1]
- Doesn't accept writes over LDAP: the LDAP interface is read-only, for bind and search[^1][^2]
- Doesn't use an external database: it stores everything in its own SQLite database and can't run on PostgreSQL or MySQL[^3]
- Doesn't replicate beyond two servers: a replication topology has at most 2 nodes[^4]
- No admin web UI: administration is mainly through the kanidm CLI, and the web UI is for users' self-service[^5]
- Doesn't run without TLS: the server won't start without a certificate, even behind a load balancer[^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- has a company behind it

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Pocket ID](https://talira.ai/catalog/pocket-id-k05q3abk.md): Easy self-hosted OIDC provider with passkeys
- [Keycloak](https://talira.ai/catalog/keycloak-jw9hhr96.md): Open source identity and access management for modern applications and services
- [Authelia](https://talira.ai/catalog/authelia-rzsda9ak.md): The Single Sign-On Multi-Factor portal for web apps
- [authentik](https://talira.ai/catalog/authentik-n6xa119j.md): The authentication glue you need
- [LLDAP](https://talira.ai/catalog/lldap-19r6hwmw.md): Light LDAP implementation for authentication
- [FreeIPA](https://talira.ai/catalog/freeipa-9868f9g3.md): Integrated security information management solution

## Sources

[^1]: https://github.com/kanidm/kanidm/blob/master/book/src/supported_features.md (checked 20 Nov 2026)
[^2]: https://github.com/kanidm/kanidm/blob/master/book/src/integrations/ldap.md (checked 20 Nov 2026)
[^3]: https://github.com/kanidm/kanidm/blob/master/book/src/frequently_asked_questions.md (checked 20 Nov 2026)
[^4]: https://github.com/kanidm/kanidm/blob/master/book/src/support.md (checked 20 Nov 2026)
[^5]: https://github.com/kanidm/kanidm/blob/master/README.md (checked 20 Nov 2026)
[^6]: https://github.com/kanidm/kanidm/blob/master/LICENSE.md (checked 20 Nov 2026)
[^7]: https://pypi.org/project/kanidm/ (checked 20 Nov 2026)
[^8]: https://github.com/kanidm/kanidm/blob/master/book/src/preparing_for_your_deployment.md (checked 20 Nov 2026)
[^9]: https://github.com/kanidm/kanidm/blob/master/book/src/developers/designs/rest_interface.md (checked 20 Nov 2026)
[^10]: https://github.com/kanidm/kanidm/blob/master/book/src/installing_client_tools.md (checked 20 Nov 2026)
