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

RealmUserProfileArgs add unmanagedAttributePolicy #710

Open
tobias-kellner opened this issue Mar 5, 2025 · 3 comments
Open

RealmUserProfileArgs add unmanagedAttributePolicy #710

tobias-kellner opened this issue Mar 5, 2025 · 3 comments
Labels
kind/bug Some behavior is incorrect or out of spec

Comments

@tobias-kellner
Copy link

Describe what happened

Hi,

we are missing the unmanagedAttributePolicy in the RealmUserProfileArgs.class for the Java provider.
We are using the latest version 6.2.1.
For more information please refer to:

  • Keycloak
  • Response of https://my-keycloak-server.com/admin/realms/itm-frontend/users/profile:
{
    "attributes": [
       ...
    ],
    "groups": [
       ...
    ],
    "unmanagedAttributePolicy": "ENABLED"
}

Sample program

public static void main(String[] args) {
    Pulumi.run(RealmCreation::run);
    RealmUserProfileArgs.builder()
        .setUnmanagedAttributePolicy(UnmanagedAttributePolicy.ENABLED) // unmanagedAttributePolicy unknown 
        .build();
}

Log output

No response

Affected Resource(s)

No response

Output of pulumi about

CLI
Version 3.142.0
Go Version go1.23.3
Go Compiler gc

Host
OS Microsoft Windows 11 Pro
Version 10.0.26100 Build 26100
Arch x86_64

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@tobias-kellner tobias-kellner added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Mar 5, 2025
@VenelinMartinov
Copy link
Contributor

Hi @tobias-kellner, thanks for the issue.

The pulumi-keycloak provider is derived from the terraform-keycloak provider, maintained by the Keycloak team: https://github.com/keycloak/terraform-provider-keycloak/issues

Can you please open the feature suggestion there, as they have the knowledge to support that.

@VenelinMartinov VenelinMartinov added kind/enhancement Improvements or new features and removed needs-triage Needs attention from the triage team kind/bug Some behavior is incorrect or out of spec labels Mar 7, 2025
@tobias-kellner
Copy link
Author

Thanks for this information @VenelinMartinov! It looks like this feature was merged on Dec 31, 2024 with this. And it is already available on the Terraform side: https://registry.terraform.io/providers/lucdew/keycloak/latest/docs/resources/realm_user_profile#unmanaged_attribute_policy-1

@VenelinMartinov
Copy link
Contributor

Ah, indeed: https://registry.terraform.io/providers/keycloak/keycloak/latest/docs/resources/realm_user_profile

Thanks for bringing it up to our attention @tobias-kellner - something has gone wrong in our update process.
We had a similar report here: #687

@VenelinMartinov VenelinMartinov added kind/bug Some behavior is incorrect or out of spec and removed kind/enhancement Improvements or new features labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants