Keycloak operations and troubleshooting

Day-two work on a running Keycloak: admin recovery, health checks, logging, tracing, service level indicators, email delivery and performance troubleshooting.

Recovering lost admin access to Keycloak

Getting back into Keycloak when the admin password is lost or MFA locks every administrator out: bootstrap-admin user and service accounts, removing a blocking credential with kcadm, and cleaning up temporary admins.

Keycloak health checks and Kubernetes probes

Wiring Keycloak health endpoints into Kubernetes startup, liveness and readiness probes and load balancer checks: enabling health, the management port, what each check covers and avoiding restarts during database blips.

Keycloak logging configuration and log shipping

Producing logs operations teams can use: JSON or ECS output, syslog, per-category levels for debugging LDAP or brokering, HTTP access logs, and shipping logs to Loki, OpenSearch or a SIEM.

Keycloak service level indicators and SLOs

Defining availability, latency and error SLOs for Keycloak from its Prometheus metrics: the example targets, the http-metrics-slos setting, recording rules, dashboards and alerting on error budget burn.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.