Resource Type: keycloak_api

Defined in:
lib/puppet/type/keycloak_api.rb

Overview

Type that configures API connection parameters for other keycloak types that use the Keycloak API.

Examples:

Define API access

keycloak_api { 'keycloak'
  install_dir  => '/opt/keycloak',
  server       => 'http://localhost:8080',
  realm        => 'master',
  user         => 'admin',
  password     => 'changeme',
}

Parameters

  • install_dir (defaults to: /opt/keycloak)

    Install location of Keycloak

  • name (namevar)

    Keycloak API config

  • password (defaults to: changeme)

    Password for authentication

  • realm (defaults to: master)

    Realm for authentication

  • server (defaults to: http://localhost:8080)

    Auth URL for Keycloak server

  • use_wrapper (defaults to: false)

    Boolean that determines if kcadm_wrapper.sh should be used

    Supported values:
    • true
    • false
  • user (defaults to: admin)

    User for authentication