r/openstack • u/RsCrag • Apr 12 '21
Keystone should not own the main user database.
In most organizations, you want to set up with LDAP as your source of truth. Keystone is only a translating later.
Since keystone was written, OpenID connect has pretty much become the norm protocol for web authorization.
Lots of Organizations do SAML still. They work essentially the same way, and when planning you workloads, you should be targeting one if them. Not Keystone.
If your organization already has an identity source you should be using that with Keystone, not duplicating it. Use Federated identify with Keycloak or ADFS. Both of those are actually more secure options than LDAP as the LDAP approach uses simple bind, which I consider a Major security issue. I originally tried to couple LDAP with Kerberos or X509, but the number of places that could make use of that was vanishingly small.
FreeIPA and Keycloak will work for this. However, most large organizations already have LDAP in the form of Active Directory, and you should use this if you can.
If you don't have an identity provider exposing OIDC or SAML, and you want to share identity information between the infrastructure and the web applications, use the ldap provider for Keystone. You can set up LDAP authentication to the vms and to the apps running on them. There are gotchas.
Full disclosure: I was a dev on FreeIPA and a on Keystone. I wrote the LDAP support back in the Essex release, and the working assumption was that a keystone was an adapter to an existing identity source. I worked on the Federated Identity support.
If you need OpenStack specific identity, you should consider usi g application credentials. The only Users stored in the keystone Database are the service users required for managing the OpenStack deployment itself.
0
u/[deleted] Apr 13 '21
[deleted]