|
|
|
|
|
by Bender
165 days ago
|
|
LDAP ad AD are the ways I have seen SSH key management done. [1] LDAP clients should be configured to cache creds in SSSD. Servers and workstations (clients of the LDAP server) should be configured to only use authorized keys from LDAP and not locally as they can contain multiple public keys which quickly gets harder to audit and harder to catch someone slipping a public key into the local authorized_keys. [1] - https://serverfault.com/questions/653792/ssh-key-authenticat... |
|
Centralizing authorized keys and avoiding local authorized_keys sprawl definitely improves auditability.
The scenarios I was thinking about in the post were more around smaller cloud-native teams that don’t run LDAP/AD at all, or where servers are fairly ephemeral and identity is managed elsewhere.
In those setups, distributing and rotating SSH keys — even via automation — can still become operationally noisy.
I agree that directory-backed key management is a strong pattern when that infrastructure already exists.