This project provides an utility to manage SSH public keys stored in LDAP. There are many like it, this one is written in nim
Some alternatives:
https://github.com/jirutka/ssh-ldap-pubkey (python)
https://github.com/sergiotocalini/ldapkeys (bash)
https://github.com/jokerxs/ldapssh (C )
Build dependencies Debian: libldap2-dev
Tests
nimble install unittest2
nim c -r tests/test.nim