published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Allows for managing Realm User Profiles within Keycloak.
A user profile defines a schema for representing user attributes and how they are managed within a realm. This is a preview feature, hence not fully supported and disabled by default. To enable it, start the server with one of the following flags:
- WildFly distribution:
-Dkeycloak.profile.feature.declarative_user_profile=enabled - Quarkus distribution:
--features=previewor--features=declarative-user-profile
The realm linked to the keycloak.RealmUserProfile resource must have the user profile feature enabled.
It can be done via the administration UI, or by setting the userProfileEnabled realm attribute to true.
Example Usage
using Pulumi;
using Keycloak = Pulumi.Keycloak;
class MyStack : Stack
{
public MyStack()
{
var realm = new Keycloak.Realm("realm", new Keycloak.RealmArgs
{
RealmName = "my-realm",
Attributes =
{
{ "userProfileEnabled", true },
},
});
var userprofile = new Keycloak.RealmUserProfile("userprofile", new Keycloak.RealmUserProfileArgs
{
RealmId = keycloak_realm.My_realm.Id,
Attributes =
{
new Keycloak.Inputs.RealmUserProfileAttributeArgs
{
Name = "field1",
DisplayName = "Field 1",
Group = "group1",
EnabledWhenScopes =
{
"offline_access",
},
RequiredForRoles =
{
"user",
},
RequiredForScopes =
{
"offline_access",
},
Permissions = new Keycloak.Inputs.RealmUserProfileAttributePermissionsArgs
{
Views =
{
"admin",
"user",
},
Edits =
{
"admin",
"user",
},
},
Validators =
{
new Keycloak.Inputs.RealmUserProfileAttributeValidatorArgs
{
Name = "person-name-prohibited-characters",
},
new Keycloak.Inputs.RealmUserProfileAttributeValidatorArgs
{
Name = "pattern",
Config =
{
{ "pattern", "^[a-z]+$" },
{ "error_message", "Nope" },
},
},
},
Annotations =
{
{ "foo", "bar" },
},
},
new Keycloak.Inputs.RealmUserProfileAttributeArgs
{
Name = "field2",
},
},
Groups =
{
new Keycloak.Inputs.RealmUserProfileGroupArgs
{
Name = "group1",
DisplayHeader = "Group 1",
DisplayDescription = "A first group",
Annotations =
{
{ "foo", "bar" },
},
},
new Keycloak.Inputs.RealmUserProfileGroupArgs
{
Name = "group2",
},
},
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-keycloak/sdk/v4/go/keycloak"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := keycloak.NewRealm(ctx, "realm", &keycloak.RealmArgs{
Realm: pulumi.String("my-realm"),
Attributes: pulumi.AnyMap{
"userProfileEnabled": pulumi.Any(true),
},
})
if err != nil {
return err
}
_, err = keycloak.NewRealmUserProfile(ctx, "userprofile", &keycloak.RealmUserProfileArgs{
RealmId: pulumi.Any(keycloak_realm.My_realm.Id),
Attributes: RealmUserProfileAttributeArray{
&RealmUserProfileAttributeArgs{
Name: pulumi.String("field1"),
DisplayName: pulumi.String("Field 1"),
Group: pulumi.String("group1"),
EnabledWhenScopes: pulumi.StringArray{
pulumi.String("offline_access"),
},
RequiredForRoles: pulumi.StringArray{
pulumi.String("user"),
},
RequiredForScopes: pulumi.StringArray{
pulumi.String("offline_access"),
},
Permissions: &RealmUserProfileAttributePermissionsArgs{
Views: pulumi.StringArray{
pulumi.String("admin"),
pulumi.String("user"),
},
Edits: pulumi.StringArray{
pulumi.String("admin"),
pulumi.String("user"),
},
},
Validators: RealmUserProfileAttributeValidatorArray{
&RealmUserProfileAttributeValidatorArgs{
Name: pulumi.String("person-name-prohibited-characters"),
},
&RealmUserProfileAttributeValidatorArgs{
Name: pulumi.String("pattern"),
Config: pulumi.StringMap{
"pattern": pulumi.String(fmt.Sprintf("^[a-z]+$")),
"error_message": pulumi.String("Nope"),
},
},
},
Annotations: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
},
&RealmUserProfileAttributeArgs{
Name: pulumi.String("field2"),
},
},
Groups: RealmUserProfileGroupArray{
&RealmUserProfileGroupArgs{
Name: pulumi.String("group1"),
DisplayHeader: pulumi.String("Group 1"),
DisplayDescription: pulumi.String("A first group"),
Annotations: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
},
&RealmUserProfileGroupArgs{
Name: pulumi.String("group2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.keycloak.Realm;
import com.pulumi.keycloak.RealmArgs;
import com.pulumi.keycloak.RealmUserProfile;
import com.pulumi.keycloak.RealmUserProfileArgs;
import com.pulumi.keycloak.inputs.RealmUserProfileAttributeArgs;
import com.pulumi.keycloak.inputs.RealmUserProfileAttributePermissionsArgs;
import com.pulumi.keycloak.inputs.RealmUserProfileGroupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var realm = new Realm("realm", RealmArgs.builder()
.realm("my-realm")
.attributes(Map.of("userProfileEnabled", true))
.build());
var userprofile = new RealmUserProfile("userprofile", RealmUserProfileArgs.builder()
.realmId(keycloak_realm.my_realm().id())
.attributes(
RealmUserProfileAttributeArgs.builder()
.name("field1")
.displayName("Field 1")
.group("group1")
.enabledWhenScopes("offline_access")
.requiredForRoles("user")
.requiredForScopes("offline_access")
.permissions(RealmUserProfileAttributePermissionsArgs.builder()
.views(
"admin",
"user")
.edits(
"admin",
"user")
.build())
.validators(
RealmUserProfileAttributeValidatorArgs.builder()
.name("person-name-prohibited-characters")
.build(),
RealmUserProfileAttributeValidatorArgs.builder()
.name("pattern")
.config(Map.ofEntries(
Map.entry("pattern", "^[a-z]+$"),
Map.entry("error_message", "Nope")
))
.build())
.annotations(Map.of("foo", "bar"))
.build(),
RealmUserProfileAttributeArgs.builder()
.name("field2")
.build())
.groups(
RealmUserProfileGroupArgs.builder()
.name("group1")
.displayHeader("Group 1")
.displayDescription("A first group")
.annotations(Map.of("foo", "bar"))
.build(),
RealmUserProfileGroupArgs.builder()
.name("group2")
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as keycloak from "@pulumi/keycloak";
const realm = new keycloak.Realm("realm", {
realm: "my-realm",
attributes: {
userProfileEnabled: true,
},
});
const userprofile = new keycloak.RealmUserProfile("userprofile", {
realmId: keycloak_realm.my_realm.id,
attributes: [
{
name: "field1",
displayName: "Field 1",
group: "group1",
enabledWhenScopes: ["offline_access"],
requiredForRoles: ["user"],
requiredForScopes: ["offline_access"],
permissions: {
views: [
"admin",
"user",
],
edits: [
"admin",
"user",
],
},
validators: [
{
name: "person-name-prohibited-characters",
},
{
name: "pattern",
config: {
pattern: `^[a-z]+$`,
error_message: "Nope",
},
},
],
annotations: {
foo: "bar",
},
},
{
name: "field2",
},
],
groups: [
{
name: "group1",
displayHeader: "Group 1",
displayDescription: "A first group",
annotations: {
foo: "bar",
},
},
{
name: "group2",
},
],
});
import pulumi
import pulumi_keycloak as keycloak
realm = keycloak.Realm("realm",
realm="my-realm",
attributes={
"userProfileEnabled": True,
})
userprofile = keycloak.RealmUserProfile("userprofile",
realm_id=keycloak_realm["my_realm"]["id"],
attributes=[
keycloak.RealmUserProfileAttributeArgs(
name="field1",
display_name="Field 1",
group="group1",
enabled_when_scopes=["offline_access"],
required_for_roles=["user"],
required_for_scopes=["offline_access"],
permissions=keycloak.RealmUserProfileAttributePermissionsArgs(
views=[
"admin",
"user",
],
edits=[
"admin",
"user",
],
),
validators=[
keycloak.RealmUserProfileAttributeValidatorArgs(
name="person-name-prohibited-characters",
),
keycloak.RealmUserProfileAttributeValidatorArgs(
name="pattern",
config={
"pattern": "^[a-z]+$",
"error_message": "Nope",
},
),
],
annotations={
"foo": "bar",
},
),
keycloak.RealmUserProfileAttributeArgs(
name="field2",
),
],
groups=[
keycloak.RealmUserProfileGroupArgs(
name="group1",
display_header="Group 1",
display_description="A first group",
annotations={
"foo": "bar",
},
),
keycloak.RealmUserProfileGroupArgs(
name="group2",
),
])
resources:
realm:
type: keycloak:Realm
properties:
realm: my-realm
attributes:
userProfileEnabled: true
userprofile:
type: keycloak:RealmUserProfile
properties:
realmId: ${keycloak_realm.my_realm.id}
attributes:
- name: field1
displayName: Field 1
group: group1
enabledWhenScopes:
- offline_access
requiredForRoles:
- user
requiredForScopes:
- offline_access
permissions:
views:
- admin
- user
edits:
- admin
- user
validators:
- name: person-name-prohibited-characters
- name: pattern
config:
pattern: ^[a-z]+$
error_message: Nope
annotations:
foo: bar
- name: field2
groups:
- name: group1
displayHeader: Group 1
displayDescription: A first group
annotations:
foo: bar
- name: group2
Create RealmUserProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RealmUserProfile(name: string, args: RealmUserProfileArgs, opts?: CustomResourceOptions);@overload
def RealmUserProfile(resource_name: str,
args: RealmUserProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RealmUserProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
realm_id: Optional[str] = None,
attributes: Optional[Sequence[RealmUserProfileAttributeArgs]] = None,
groups: Optional[Sequence[RealmUserProfileGroupArgs]] = None)func NewRealmUserProfile(ctx *Context, name string, args RealmUserProfileArgs, opts ...ResourceOption) (*RealmUserProfile, error)public RealmUserProfile(string name, RealmUserProfileArgs args, CustomResourceOptions? opts = null)
public RealmUserProfile(String name, RealmUserProfileArgs args)
public RealmUserProfile(String name, RealmUserProfileArgs args, CustomResourceOptions options)
type: keycloak:RealmUserProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RealmUserProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RealmUserProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RealmUserProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RealmUserProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RealmUserProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var realmUserProfileResource = new Keycloak.RealmUserProfile("realmUserProfileResource", new()
{
RealmId = "string",
Attributes = new[]
{
new Keycloak.Inputs.RealmUserProfileAttributeArgs
{
Name = "string",
Annotations =
{
{ "string", "string" },
},
DisplayName = "string",
EnabledWhenScopes = new[]
{
"string",
},
Group = "string",
Permissions = new Keycloak.Inputs.RealmUserProfileAttributePermissionsArgs
{
Edits = new[]
{
"string",
},
Views = new[]
{
"string",
},
},
RequiredForRoles = new[]
{
"string",
},
RequiredForScopes = new[]
{
"string",
},
Validators = new[]
{
new Keycloak.Inputs.RealmUserProfileAttributeValidatorArgs
{
Name = "string",
Config =
{
{ "string", "string" },
},
},
},
},
},
Groups = new[]
{
new Keycloak.Inputs.RealmUserProfileGroupArgs
{
Name = "string",
Annotations =
{
{ "string", "string" },
},
DisplayDescription = "string",
DisplayHeader = "string",
},
},
});
example, err := keycloak.NewRealmUserProfile(ctx, "realmUserProfileResource", &keycloak.RealmUserProfileArgs{
RealmId: pulumi.String("string"),
Attributes: keycloak.RealmUserProfileAttributeArray{
&keycloak.RealmUserProfileAttributeArgs{
Name: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayName: pulumi.String("string"),
EnabledWhenScopes: pulumi.StringArray{
pulumi.String("string"),
},
Group: pulumi.String("string"),
Permissions: &keycloak.RealmUserProfileAttributePermissionsArgs{
Edits: pulumi.StringArray{
pulumi.String("string"),
},
Views: pulumi.StringArray{
pulumi.String("string"),
},
},
RequiredForRoles: pulumi.StringArray{
pulumi.String("string"),
},
RequiredForScopes: pulumi.StringArray{
pulumi.String("string"),
},
Validators: keycloak.RealmUserProfileAttributeValidatorArray{
&keycloak.RealmUserProfileAttributeValidatorArgs{
Name: pulumi.String("string"),
Config: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
},
},
Groups: keycloak.RealmUserProfileGroupArray{
&keycloak.RealmUserProfileGroupArgs{
Name: pulumi.String("string"),
Annotations: pulumi.StringMap{
"string": pulumi.String("string"),
},
DisplayDescription: pulumi.String("string"),
DisplayHeader: pulumi.String("string"),
},
},
})
var realmUserProfileResource = new RealmUserProfile("realmUserProfileResource", RealmUserProfileArgs.builder()
.realmId("string")
.attributes(RealmUserProfileAttributeArgs.builder()
.name("string")
.annotations(Map.of("string", "string"))
.displayName("string")
.enabledWhenScopes("string")
.group("string")
.permissions(RealmUserProfileAttributePermissionsArgs.builder()
.edits("string")
.views("string")
.build())
.requiredForRoles("string")
.requiredForScopes("string")
.validators(RealmUserProfileAttributeValidatorArgs.builder()
.name("string")
.config(Map.of("string", "string"))
.build())
.build())
.groups(RealmUserProfileGroupArgs.builder()
.name("string")
.annotations(Map.of("string", "string"))
.displayDescription("string")
.displayHeader("string")
.build())
.build());
realm_user_profile_resource = keycloak.RealmUserProfile("realmUserProfileResource",
realm_id="string",
attributes=[{
"name": "string",
"annotations": {
"string": "string",
},
"display_name": "string",
"enabled_when_scopes": ["string"],
"group": "string",
"permissions": {
"edits": ["string"],
"views": ["string"],
},
"required_for_roles": ["string"],
"required_for_scopes": ["string"],
"validators": [{
"name": "string",
"config": {
"string": "string",
},
}],
}],
groups=[{
"name": "string",
"annotations": {
"string": "string",
},
"display_description": "string",
"display_header": "string",
}])
const realmUserProfileResource = new keycloak.RealmUserProfile("realmUserProfileResource", {
realmId: "string",
attributes: [{
name: "string",
annotations: {
string: "string",
},
displayName: "string",
enabledWhenScopes: ["string"],
group: "string",
permissions: {
edits: ["string"],
views: ["string"],
},
requiredForRoles: ["string"],
requiredForScopes: ["string"],
validators: [{
name: "string",
config: {
string: "string",
},
}],
}],
groups: [{
name: "string",
annotations: {
string: "string",
},
displayDescription: "string",
displayHeader: "string",
}],
});
type: keycloak:RealmUserProfile
properties:
attributes:
- annotations:
string: string
displayName: string
enabledWhenScopes:
- string
group: string
name: string
permissions:
edits:
- string
views:
- string
requiredForRoles:
- string
requiredForScopes:
- string
validators:
- config:
string: string
name: string
groups:
- annotations:
string: string
displayDescription: string
displayHeader: string
name: string
realmId: string
RealmUserProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RealmUserProfile resource accepts the following input properties:
- Realm
Id string - The ID of the realm the user profile applies to.
- Attributes
List<Realm
User Profile Attribute> - An ordered list of attributes.
- Groups
List<Realm
User Profile Group> - The group that the attribute belong to.
- Realm
Id string - The ID of the realm the user profile applies to.
- Attributes
[]Realm
User Profile Attribute Args - An ordered list of attributes.
- Groups
[]Realm
User Profile Group Args - The group that the attribute belong to.
- realm
Id String - The ID of the realm the user profile applies to.
- attributes
List<Realm
User Profile Attribute> - An ordered list of attributes.
- groups
List<Realm
User Profile Group> - The group that the attribute belong to.
- realm
Id string - The ID of the realm the user profile applies to.
- attributes
Realm
User Profile Attribute[] - An ordered list of attributes.
- groups
Realm
User Profile Group[] - The group that the attribute belong to.
- realm_
id str - The ID of the realm the user profile applies to.
- attributes
Sequence[Realm
User Profile Attribute Args] - An ordered list of attributes.
- groups
Sequence[Realm
User Profile Group Args] - The group that the attribute belong to.
- realm
Id String - The ID of the realm the user profile applies to.
- attributes List<Property Map>
- An ordered list of attributes.
- groups List<Property Map>
- The group that the attribute belong to.
Outputs
All input properties are implicitly available as output properties. Additionally, the RealmUserProfile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RealmUserProfile Resource
Get an existing RealmUserProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RealmUserProfileState, opts?: CustomResourceOptions): RealmUserProfile@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
attributes: Optional[Sequence[RealmUserProfileAttributeArgs]] = None,
groups: Optional[Sequence[RealmUserProfileGroupArgs]] = None,
realm_id: Optional[str] = None) -> RealmUserProfilefunc GetRealmUserProfile(ctx *Context, name string, id IDInput, state *RealmUserProfileState, opts ...ResourceOption) (*RealmUserProfile, error)public static RealmUserProfile Get(string name, Input<string> id, RealmUserProfileState? state, CustomResourceOptions? opts = null)public static RealmUserProfile get(String name, Output<String> id, RealmUserProfileState state, CustomResourceOptions options)resources: _: type: keycloak:RealmUserProfile get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Attributes
List<Realm
User Profile Attribute> - An ordered list of attributes.
- Groups
List<Realm
User Profile Group> - The group that the attribute belong to.
- Realm
Id string - The ID of the realm the user profile applies to.
- Attributes
[]Realm
User Profile Attribute Args - An ordered list of attributes.
- Groups
[]Realm
User Profile Group Args - The group that the attribute belong to.
- Realm
Id string - The ID of the realm the user profile applies to.
- attributes
List<Realm
User Profile Attribute> - An ordered list of attributes.
- groups
List<Realm
User Profile Group> - The group that the attribute belong to.
- realm
Id String - The ID of the realm the user profile applies to.
- attributes
Realm
User Profile Attribute[] - An ordered list of attributes.
- groups
Realm
User Profile Group[] - The group that the attribute belong to.
- realm
Id string - The ID of the realm the user profile applies to.
- attributes
Sequence[Realm
User Profile Attribute Args] - An ordered list of attributes.
- groups
Sequence[Realm
User Profile Group Args] - The group that the attribute belong to.
- realm_
id str - The ID of the realm the user profile applies to.
- attributes List<Property Map>
- An ordered list of attributes.
- groups List<Property Map>
- The group that the attribute belong to.
- realm
Id String - The ID of the realm the user profile applies to.
Supporting Types
RealmUserProfileAttribute, RealmUserProfileAttributeArgs
- Name string
- The name of the group.
- Annotations Dictionary<string, string>
- A map of annotations for the group.
- Display
Name string - The display name of the attribute.
- Enabled
When List<string>Scopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- Group string
- The group that the attribute belong to.
- Permissions
Realm
User Profile Attribute Permissions - The permissions configuration information.
- Required
For List<string>Roles - A list of roles for which the attribute will be required.
- Required
For List<string>Scopes - A list of scopes for which the attribute will be required.
- Validators
List<Realm
User Profile Attribute Validator> - A list of validators for the attribute.
- Name string
- The name of the group.
- Annotations map[string]string
- A map of annotations for the group.
- Display
Name string - The display name of the attribute.
- Enabled
When []stringScopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- Group string
- The group that the attribute belong to.
- Permissions
Realm
User Profile Attribute Permissions - The permissions configuration information.
- Required
For []stringRoles - A list of roles for which the attribute will be required.
- Required
For []stringScopes - A list of scopes for which the attribute will be required.
- Validators
[]Realm
User Profile Attribute Validator - A list of validators for the attribute.
- name String
- The name of the group.
- annotations Map<String,String>
- A map of annotations for the group.
- display
Name String - The display name of the attribute.
- enabled
When List<String>Scopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- group String
- The group that the attribute belong to.
- permissions
Realm
User Profile Attribute Permissions - The permissions configuration information.
- required
For List<String>Roles - A list of roles for which the attribute will be required.
- required
For List<String>Scopes - A list of scopes for which the attribute will be required.
- validators
List<Realm
User Profile Attribute Validator> - A list of validators for the attribute.
- name string
- The name of the group.
- annotations {[key: string]: string}
- A map of annotations for the group.
- display
Name string - The display name of the attribute.
- enabled
When string[]Scopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- group string
- The group that the attribute belong to.
- permissions
Realm
User Profile Attribute Permissions - The permissions configuration information.
- required
For string[]Roles - A list of roles for which the attribute will be required.
- required
For string[]Scopes - A list of scopes for which the attribute will be required.
- validators
Realm
User Profile Attribute Validator[] - A list of validators for the attribute.
- name str
- The name of the group.
- annotations Mapping[str, str]
- A map of annotations for the group.
- display_
name str - The display name of the attribute.
- enabled_
when_ Sequence[str]scopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- group str
- The group that the attribute belong to.
- permissions
Realm
User Profile Attribute Permissions - The permissions configuration information.
- required_
for_ Sequence[str]roles - A list of roles for which the attribute will be required.
- required_
for_ Sequence[str]scopes - A list of scopes for which the attribute will be required.
- validators
Sequence[Realm
User Profile Attribute Validator] - A list of validators for the attribute.
- name String
- The name of the group.
- annotations Map<String>
- A map of annotations for the group.
- display
Name String - The display name of the attribute.
- enabled
When List<String>Scopes - A list of scopes. The attribute will only be enabled when these scopes are requested by clients.
- group String
- The group that the attribute belong to.
- permissions Property Map
- The permissions configuration information.
- required
For List<String>Roles - A list of roles for which the attribute will be required.
- required
For List<String>Scopes - A list of scopes for which the attribute will be required.
- validators List<Property Map>
- A list of validators for the attribute.
RealmUserProfileAttributePermissions, RealmUserProfileAttributePermissionsArgs
RealmUserProfileAttributeValidator, RealmUserProfileAttributeValidatorArgs
RealmUserProfileGroup, RealmUserProfileGroupArgs
- Name string
- The name of the group.
- Annotations Dictionary<string, string>
- A map of annotations for the group.
- Display
Description string - The display description of the group.
- Display
Header string - The display header of the group.
- Name string
- The name of the group.
- Annotations map[string]string
- A map of annotations for the group.
- Display
Description string - The display description of the group.
- Display
Header string - The display header of the group.
- name String
- The name of the group.
- annotations Map<String,String>
- A map of annotations for the group.
- display
Description String - The display description of the group.
- display
Header String - The display header of the group.
- name string
- The name of the group.
- annotations {[key: string]: string}
- A map of annotations for the group.
- display
Description string - The display description of the group.
- display
Header string - The display header of the group.
- name str
- The name of the group.
- annotations Mapping[str, str]
- A map of annotations for the group.
- display_
description str - The display description of the group.
- display_
header str - The display header of the group.
- name String
- The name of the group.
- annotations Map<String>
- A map of annotations for the group.
- display
Description String - The display description of the group.
- display
Header String - The display header of the group.
Import
This resource currently does not support importing.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Keycloak pulumi/pulumi-keycloak
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
keycloakTerraform Provider.
published on Monday, Mar 9, 2026 by Pulumi