Skip to main content
InterviewHubPRO
Section Overview
Q42

Question 42 of 50

Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

84%
GCP Cloud Architecture (50 Qs)•Part 3: Advanced Internals, Scale & Production Patterns (Senior / Lead)

Workload Identity Federation: Eliminating Long-Lived Service Account Keys.

senior LevelgcpAdvanced Internals

In Simple Words: Downloading JSON service account keys (credentials.json) into CI/CD pipelines (GitHub Actions, GitLab) is the #1 cause of cloud security breaches:

  • Workload Identity Federation: External systems (GitHub Actions) exchange OpenID Connect (OIDC) identity tokens with Google Cloud's Security Token Service (STS) to receive short-lived (1-hour) temporary access tokens, eliminating permanent credentials entirely!