Using Keycloak Authorization Service for Kubernetes Service-to-Service…
summary
Shows a working WebAssembly Wasm plugin that makes Istio act as a Policy Enforcement Point and calls Keycloak as a Policy Decision Point, using Istio Ambient mode and the UMA ticket grant flow. Demo runs live requests, measures latencies (8.8 ms then ~2 ms end-to-end), returns 403 for denied POSTs and 401 for missing tokens, blocks direct pod port-forwarding, and fails closed when Keycloak is down; code and telemetry (OpenTelemetry) are on GitHub.
AI-written summary · about
chapters (11)
- 0:00Keycloak overview
- 1:04Service-to-service auth
- 2:29Istio ambient model
- 3:10Orders endpoint scopes
- 4:57Keycloak decision flow
- 7:49Prerequisites setup
- 9:40Demo setup
- 11:30Successful auth telemetry
- 12:34Denied requests latency
- 13:16Missing tokens handling
- 14:40Keycloak failure impact
related talks
32mIstio: Sailing to a Secure Services Mesh
56mDistributed Authorization for Microservices Powered by Kubernetes, Istio and Open Policy Agent
42mSecuring Kubernetes Workloads with Istio Service Mesh
58mUsing Service Meshes and Kubernetes to Solve Service-to-Service Communications...
46mIstio and API Management Integration with Envoy WeAssembly Extensions
36mAdvanced Authentication patterns at the Edge
52mEmpower Your Microservices with Istio Service Mesh
55mEmpower Your Microservices with Istio Service Mesh
