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

feat(data-source): Add keycloak group membership datasource #945

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

deedubs
Copy link

@deedubs deedubs commented Mar 28, 2024

Why?

We are attempting to make Keycloak our single-source of truth for various systems. To do this we needed to be able to fetch the members of a group so we can, for example, sync a GitHub Team to a Keycloak groups membership.

How?

We added a new data-source keycloak_group_members to return the members of a particular group.

data "keycloak_group_members" "my-group" {
  realm_id   = "my-realm"
  group_name = "my-group"
}

We have also added test coverage for this new functionality.

Thanks for your time considering this pull-request.

@igor-nikiforov
Copy link

@mrparkers could you please review this PR? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants