Hi
tl;dr - I’d like to move user management to LDAP, but still have option to use other auth methods and keep policies set for (by?) LDAP auth method.
I want to introduce Vault as a secrets management solution in a considerably complex infrastructure spanning multiple (micro)services and other mostly automated users.
The users may be fit for authenticating with various auth methods, like Approle, k8s auth, etc. Managing each identity directly in Vault - in my perception - becomes hard. It’s not quite easy to lookup and edit entities. For that reason, I’d like to have users and groups in LDAP, centrally.
I successfully set up LDAP and groups, but following don’t seem possible:
- My LDAP user is part of a group which has a policy attached. If I create another alias for the same underlying entity (e.g. userpass), login through the non-LDAP auth method won’t get me the group policy in resulting token.
- Policy association can only be configured in Vault. Could it be done in LDAP via attribute?
Can one auth method cause another to pull some info from external identity provider? Or to achieve something similar, do I need to explicitly sync Vault with external system?
I’d be grateful for any advice!