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

Consistency: keycloak_openid_client_service_account_role for both realm and client roles #905

Open
TBeijen opened this issue Dec 13, 2023 · 0 comments

Comments

@TBeijen
Copy link

TBeijen commented Dec 13, 2023

Happened to notice a bit of an inconsistency.

When creating a role, providing or omiting client_id distinguishes between realm- and client role: https://registry.terraform.io/providers/mrparkers/keycloak/latest/docs/resources/role#client_id

That works quite nice.

However when needing to reference the role to add to a service account, one needs to work with different resource types:

Those 2 only differ by the client_id attribute that's present in the latter.

This could work in the same way as roles: A single resource type, where optional client_id distinguishes between type of role.

(Admitted, probably 'nice to have' and not top prio, seeing the backlog of issues)

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

No branches or pull requests

1 participant