Resource Type: keycloak_role_mapping

Defined in:
lib/puppet/type/keycloak_role_mapping.rb
Providers:
kcadm

Overview

Attach realm roles to users and groups

Examples:

Ensure that a user has the defined realm roles

keycloak_role_mapping { 'john-offline_access':
  realm       => 'test',
  name        => 'john',
  realm_roles => ['offline_access'],
}

Properties

  • realm_roles (defaults to: [])

    realm roles

Parameters

  • group (defaults to: false)

    is this a group instead of a user

    Supported values:
    • true
    • false
  • name (namevar)

    –uusername/–gname

  • provider

    The specific backend to use for this keycloak_role_mapping resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.

  • realm

    realm