Menu

Workload Identity Federation GitHub Actions: GCP Setup
📰

Workload Identity Federation GitHub Actions: GCP Setup

DEV Community: gitlab·Amaresh Pelleti·1 day ago
#JFJMen2Q
#devtogitlab#devto#dev#project#pool
Long article (1834 words) — no AI summary yet.
Reading 0:00
15s threshold

Originally published on DevToolHub .

With workload identity federation GitHub Actions and GitLab CI jobs call GCP using a short-lived token instead of a service account key. You create a workload identity pool, add one OIDC provider per CI system, and let the pool impersonate a service account. I ran this end to end on 3 December 2026 for both CI systems, and the first GitHub run failed for a reason the docs only half explain.

I tested with the Google Cloud SDK 594.0.1 in a Docker container, google-github-actions/auth@v3 on a GitHub-hosted runner, and a GitLab.com pipeline using google/cloud-sdk:slim . Both jobs authenticated as the same service account.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.