Setup a Keycloak environment¶
To use the Keycloak auth manager, you must have a running Keycloak environment. This is where you define users, groups, roles, and permissions. Airflow delegates all authentication and authorization operations to Keycloak, querying it for every access decision.
If you don’t have a Keycloak environment set up, please refer to the official Keycloak documentation for installation and configuration guidance.
Setup and run Keycloak with Breeze (local development)¶
Setting up and running a Keycloak environment with Breeze for local development is straightforward.
Simply run breeze start-airflow --integration keycloak
. Breeze will handle starting Keycloak in a separate container.
The Keycloak admin console will be available at http://localhost:48080/.