First-Time Setup: Keycloak SSO & Administrator Initialization¶
Once the cluster is running, configure Keycloak to establish enterprise identity and create the first administrator.
Step 1: Access Keycloak Admin Console¶
If Keycloak is not yet routed through an external Ingress, establish a local port-forward:
Open http://localhost:8081 in your browser and log in with your administrative credentials (KEYCLOAK_ADMIN_USERNAME and KEYCLOAK_ADMIN_PASSWORD from your Secret).
Step 2: Create Realm & OpenID Connect Client¶
- Click Create Realm and enter
vda. - Under Clients > Create client:
- Client type:
OpenID Connect - Client ID:
vda-client - Valid redirect URIs:
https://vda.company.internal/*(orhttp://localhost:8080/*for staging) - Web origins:
* - Click Save.
Step 3: Define Realm Roles & Assign Superadmin¶
- Navigate to Realm roles > Create role:
- Add
SUPERADMIN - Add
DATA_CONSUMER - Add
DATA_STEWARD - Navigate to Users > Add user:
- Create user
vda-admin - Under Credentials, set a permanent password (toggle Temporary off).
- Under Role mapping, assign the
SUPERADMINrole.