HardcodedGroupIdentityProviderMapperArgs

data class HardcodedGroupIdentityProviderMapperArgs(val extraConfig: Output<Map<String, String>>? = null, val group: Output<String>? = null, val identityProviderAlias: Output<String>? = null, val name: Output<String>? = null, val realm: Output<String>? = null) : ConvertibleToJava<HardcodedGroupIdentityProviderMapperArgs>

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

Constructors

Link copied to clipboard
constructor(extraConfig: Output<Map<String, String>>? = null, group: Output<String>? = null, identityProviderAlias: Output<String>? = null, name: Output<String>? = null, realm: Output<String>? = null)

Properties

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

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

Link copied to clipboard
val identityProviderAlias: Output<String>? = null

The IDP alias of the attribute to set.

Link copied to clipboard
val name: Output<String>? = null

Display name of this mapper when displayed in the console.

Link copied to clipboard
val realm: Output<String>? = null

The realm ID that this mapper will exist in.

Functions

Link copied to clipboard
open override fun toJava(): HardcodedGroupIdentityProviderMapperArgs