ansible-modules-hashivault
ansible-modules-hashivault copied to clipboard
LDAP Config Module Doesn't have token_bound_cidrs support
First off, love this module - amazing work.
Would you consider adding token_bound_cidrs to the hashivault_auth_ldap module? Thankfully, you have this on OIDC roles and approles and it just appears to be missing on this one login method.
Thank you for your consideration!
https://www.vaultproject.io/api/auth/ldap#token_bound_cidrs
Something like this probably https://github.com/TerryHowe/ansible-modules-hashivault/blob/main/ansible/modules/hashivault/hashivault_oidc_auth_role.py#L65
Not hard to do, just adding the docs, parameters and any desired state type logic
I can submit a PR tomorrow
Unfortunately, HVAC doesn't support CIDRs yet for LDAP - I will have to get it added there first.
How hard will it be to add guards in the code for folks that have HVAC <= the current version?