TerryHowe / ansible-modules-hashivault

Ansible module for Hashicorp Vault.
https://pypi.python.org/pypi/ansible-modules-hashivault
MIT License
454 stars 158 forks source link

Support the "userfilter" LDAP configuration parameter #407

Open fabricat opened 2 years ago

fabricat commented 2 years ago

I need to set the userfilter config parameter of the LDAP Auth Method API, but it is not implemented in the hashivault_auth_ldap module.

Probably, it is enough to add a user_filter parameter, similar to the existing group_filter?

TerryHowe commented 2 years ago

Yeh, most likely very similar to group_filter https://github.com/TerryHowe/ansible-modules-hashivault/blob/main/ansible/modules/hashivault/hashivault_auth_ldap.py#L80

fabricat commented 2 years ago

Unfortunately, I am not a Python dev so I cannot fix it and send a PR (I don't want messing up the code) 😓

Is it possible for someone in the community to add the user_filter parameter to the hashivault_auth_ldap module?