HardcodedGroupIdentityProviderMapper

class HardcodedGroupIdentityProviderMapper : KotlinCustomResource

Allows for creating and managing hardcoded group mappers for Keycloak identity provider. The identity provider hardcoded group mapper grants a specified Keycloak group to each Keycloak user from the identity provider.

Example Usage

resources:
realm:
type: keycloak:Realm
properties:
realm: my-realm
enabled: true
oidc:
type: keycloak:oidc:IdentityProvider
properties:
realm: ${realm.id}
alias: my-idp
authorizationUrl: https://authorizationurl.com
clientId: clientID
clientSecret: clientSecret
tokenUrl: https://tokenurl.com
realmGroup:
type: keycloak:Group
name: realm_group
properties:
realmId: ${realm.id}
name: my-realm-group
description: My Realm Group
oidcHardcodedGroupIdentityProviderMapper:
type: keycloak:HardcodedGroupIdentityProviderMapper
name: oidc
properties:
realm: ${realm.id}
name: hardcodedGroup
identityProviderAlias: ${oidc.alias}
group: my-realm-group
extraConfig:
syncMode: INHERIT

Properties

Link copied to clipboard
val extraConfig: Output<Map<String, String>>?
Link copied to clipboard
val group: Output<String>?

The name of the group which should be assigned to the users.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The IDP alias of the attribute to set.

Link copied to clipboard
val name: Output<String>

Display name of this mapper when displayed in the console.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val realm: Output<String>

The realm ID that this mapper will exist in.

Link copied to clipboard
val urn: Output<String>