Skip to main content

2 posts tagged with "operations"

View All Tags

Keycloak Production Readiness Checklist

· 15 min read
Jeff Patzer
Phase Two

A Keycloak production readiness checklist has to answer two different questions, and most published ones only answer the first. Keycloak's start command refuses to boot until you settle two things, and it prints a clear error for each, so those are easy. The harder list is everything it will happily let you ship wrong: brute force protection is off, your audit log accepts forged IP addresses from anyone, event tables grow forever, and the readiness endpoint disagrees with your load balancer for the first few seconds of every restart.

Everything below was run against quay.io/keycloak/keycloak:26.7.3. Where a number appears, it came out of a terminal, not from memory.

Do You Need a WAF in Front of Keycloak?

· 11 min read
Jeff Patzer
Phase Two

A WAF in front of Keycloak buys you four things Keycloak cannot do for itself: it absorbs volumetric floods that would otherwise fill your network link, it rate-limits by IP address and path, it fences the admin paths to networks you name, and it scores clients that are not real browsers. It does not reduce what a single login costs your CPU, it cannot see a campaign spread thinly across thousands of addresses, and it cannot write a rule about which OAuth client or grant type a request is using, because on the token endpoint both of those live in the request body. So the honest answer to "do I need a WAF" is: if your login page is public, yes, and it covers about half of what you need. The other half is Keycloak configuration that no edge device can do for you.