Skip to content

Admin, Theming & Production

This module takes you from a working Keycloak installation to one that is automated, branded, observable, and production-ready. The four pillars are:

  • Admin REST API — every action you perform in the admin console is backed by a REST API. You can automate realm setup, user provisioning, and client configuration from scripts or CI pipelines instead of clicking through the UI every time.
  • Themes — Keycloak renders its own login, account, and admin pages. You can replace these with your own templates to match your brand.
  • Events & audit — Keycloak records login events and admin events. Enable them before you go live so you have an audit trail when something goes wrong.
  • Production hardening — switching from start-dev to the optimised start mode, wiring in an external database, setting a fixed hostname, and terminating HTTPS correctly.
LessonWhat you will learn
Admin REST APIGet a token and automate with the Admin REST API
ThemesCustomise login, account, and admin pages
Events & AuditEnable and query login and admin events
Production ChecklistExternal DB, hostname, HTTPS, and optimised build
Which of the following best describes the Admin REST API?
Which Keycloak theme type is the one your end-users actually see?
Why should you enable events before going to production?