-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Add support for using ldap primary auth method #392
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, we can remove some unused bits.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great
* Add support for using LDAP for authentication if it's the primary auth method
auth_method_id
for the Terraform provider if LDAP is the primary auth method or only auth method.login_name
&password
github.com/jimlambrt/gldap
&github.com/hashicorp/boundary
to pull in needed changes for TF changesUsing the Primary Auth Method(LDAP) in Global Scope
Using the Primary Auth Method(LDAP) in a passed-in scope:
Using auth_method_id (traditional)
Considerations
password
&LDAP
auth methods both need alogin_name
&password
for Terraform Provider.Instead of having separate Terraform
password_auth_method_*
&ldap_auth_method_*
fields that take the same information, a newauth_method_login_name
&auth_method_password
has been added to pass in data required by both auth methods.password_auth_method_login_name
&password_auth_method_password
fields have been set to deprecated with a recommendation to useauth_method_login_name
&auth_method_password
fields instead.