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

feature: Allow managing of service account roles #43

Closed
Tuhis opened this issue Feb 8, 2024 · 3 comments · Fixed by #45
Closed

feature: Allow managing of service account roles #43

Tuhis opened this issue Feb 8, 2024 · 3 comments · Fixed by #45

Comments

@Tuhis
Copy link

Tuhis commented Feb 8, 2024

Currently the provider doesn't seem to support managing client Service Account's roles. Same capability is provided on Terraform side via openid_client_service_account_realm_role and openid_client_service_account_role.

This feature would make it possible to configure Client that relies on Client Credentials Grant with roles.

@Breee Breee reopened this Feb 9, 2024
@Tuhis
Copy link
Author

Tuhis commented Feb 9, 2024

Thank you for fast implementation! I will test those and report back here today/tomorrow.

@Tuhis
Copy link
Author

Tuhis commented Feb 9, 2024

I can confirm both resources to work.

It took me a while to realize, that in ClientServiceAccountRole the .spec.forProvider.clientId is not the configured client id of a client, but actually the Keycloak's internal uuid for that client.

@Breee Breee closed this as completed Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants