Generate an OIDC ID token for GCP (v2)
One step with Harness. We can help you get access.
Get something done
Generate an OIDC ID token for GCP (v2)
with Harness
Works with AI assistants
Use Harness: its Harness Oidc ID Token API lets you generate an OIDC ID token for GCP (v2) in a single step (POST /ng/api/oidc/id-token/gcp-v2). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- Is there a v2 endpoint for generating GCP OIDC ID tokens?
- Can the newer GCP token endpoint impersonate a service account email?
Say it to your AI assistant
- Generate a GCP v2 OIDC token for project {gcpProject}, pool {pool}, provider {provider}.
- Issue a v2 GCP ID token for service account {email}.
For your developer
POST /ng/api/oidc/id-token/gcp-v2 in Harness Oidc ID Token API. Full spec on APIs.io.