An enterprise security architecture team is designing an automated identity mechanism to allow microservices running on an Amazon Web Services (AWS) Kubernetes cluster to securely request data from resources hosted on Google Cloud Platform (GCP). The solution must eliminate static, long-lived service account access keys, provide automated credential rotation, and cryptographically establish workload identity trust across cloud providers. Which of the following Identity and Access Management (IAM) architectural solutions best meets these requirements?
- Configure Workload Identity Federation using OpenID Connect (OIDC) to exchange AWS-issued short-lived identity tokens for temporary GCP access tokens.Answer
- BEstablish an encrypted IPsec VPN tunnel between cloud providers and configure microservices to authenticate using static IAM service account keys over the private network.
- CImplement SAML 2.0 web browser Single Sign-On (SSO) to continuously authenticate service account roles between the AWS and GCP IAM control planes.
- DDeploy an inline Web Application Firewall (WAF) to intercept outbound microservice API traffic and dynamically inject bearer tokens from a central secrets vault.
Answer
Configure Workload Identity Federation using OpenID Connect (OIDC) to exchange AWS-issued short-lived identity tokens for temporary GCP access tokens.
Workload Identity Federation allows external workloads (such as Kubernetes pods in AWS) to authenticate to cloud providers (such as GCP) by leveraging OpenID Connect (OIDC). The requesting workload presents a short-lived, signed JSON Web Token (JWT) issued by its native OIDC identity provider, which GCP validates against a configured trust relationship before issuing temporary GCP IAM credentials. This eliminates the necessity for static secret storage, key rotation management, and long-lived credential risks.
Step-by-Step Solution
Key Concept
Workload Identity Federation across Multi-Cloud Environments
Estimated Time:2m 0s