How to Configure Keycloak as an OIDC Provider for Amazon EKS Using Terraform
A developer has published a technical guide detailing the Terraform and OpenTofu configuration required to set up Keycloak as an OpenID Connect provider for Amazon EKS Kubernetes API authentication. The setup uses the official Keycloak Terraform provider, configured via environment variables pointing to a Keycloak realm and client credentials. A confidential Keycloak client is created with the Authorization Code Grant flow enabled, restricting token scope to client-specific roles only. Client roles are mapped to Keycloak groups, and users are then assigned to those groups to control access permissions within the cluster. The guide also notes that a separate article will cover JWT-federated client configuration for GitHub Actions runners.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in