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

keycloak_realm_user_profile: should support 'unmanagedAttributePolicy' #946

Open
scottescue opened this issue Apr 9, 2024 · 2 comments
Open

Comments

@scottescue
Copy link

The unmanagedAttributePolicy attribute has been added to the User Profile Config definition as of Keycloak version 24. This is exposed in the Admin UI as the Unmanaged Attributes realm setting.

Allowed values are:

  • omitted - Disabled
  • ENABLED - Enabled
  • ADMIN_VIEW - Only administrators can view
  • ADMIN_EDIT - Only administrators can write

The provider should allow this new attribute to be set in the keycloak_realm_user_profile resource.

@ericwalterb
Copy link

This is something we also hope gets added. Since upgrading to Keycloak 24, we have to manually enable Unmanaged Attributes. However, every time we run the terraform plan, it gets set back to null.

@bradhead
Copy link

bradhead commented May 1, 2024

@ericwalterb Were you able to apply the keycloak_realm_user_profile resource at all? I get a failure that username can't be removed.. I am not trying to remove it.. seems the state thinks it is creating the profile for the first time and it does not support import. Did you sort out how to set unmanaged attributes?

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

3 participants