Skip to content
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

Support hardcoded-ldap-role-mapper LDAP Mapper #109

Closed
cthiebault opened this issue May 8, 2019 · 0 comments · Fixed by #195
Closed

Support hardcoded-ldap-role-mapper LDAP Mapper #109

cthiebault opened this issue May 8, 2019 · 0 comments · Fixed by #195
Labels
good first issue Good for newcomers new resource This feature request requires the creation of a new Terraform resource

Comments

@cthiebault
Copy link
Contributor

This would grant a specified Keycloak role to each Keycloak user linked with LDAP.
See documentation

It could look like this:

resource "keycloak_ldap_hardcoded_role_mapper" "role_mapper" {
  realm_id                = "${keycloak_realm.my-realm.id}"
  ldap_user_federation_id = "${keycloak_ldap_user_federation.my-ldap.id}"
  name                    = "my-role-mapper"
  role                    = "my-role"
}
@mrparkers mrparkers added good first issue Good for newcomers new resource This feature request requires the creation of a new Terraform resource labels May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers new resource This feature request requires the creation of a new Terraform resource
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants