Trust
AWS does not trust Kubernetes service-account tokens directly. It trusts:
- the public issuer URL registered in IAM
- the public JWKS behind that issuer
- the role trust policy conditions on
audandsub
In this design, the bridge exists to expose only the two OIDC endpoints AWS needs without exposing the Kubernetes API server itself.
The trust chain is:
Kubernetes token -> public issuer URL -> public JWKS -> AWS IAM OIDC provider -> IAM role trust policy
If any link in that chain drifts, web-identity role assumption fails.