Skip to main content

auth import

Import cleaned realm config to target Keycloak via keycloak-config-cli Docker container.

Usage

postkit auth import

Options

OptionDescription
-v, --verboseEnable verbose output
--jsonOutput as JSON

What It Does

  1. Reads cleaned realm config from realm-config/
  2. Runs keycloak-config-cli in Docker
  3. Imports config to target Keycloak

Requirements

  • Docker must be running
  • Cleaned config file must exist (run export first)
  • Target Keycloak must be accessible
  • Environment variables must be configured (see Configuration)
  • export - Export from source
  • sync - Export + import in one command