~/skills/gke-workload-identity
← Directory
v1.0.0Google PredefinedPrompt-Onlygcp-cloud-agent

gke-workload-identity

Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 "iam.serviceAccounts.getAccessToken" / permission denied, "could not find default credentials", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA/GSA bindings (`roles/iam.workloadIdentityUser`, `iam.gke.io/gcp-service-account`) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).

$/registry:install "gke-workload-identity"
Gemini CLI
Author
Google Cloud Platform
License
Apache-2.0
Target Project
fra-mts-m2c-app-dev
Architecture
System Directive

Security Audit & Supply Chain Verification

Standard: CIS Benchmark & OpenSSF Scorecard
SAST Analysis0 Findings
Semgrep AST Verified
No command injection or prompt poisoning vectors
Secret ScanPassed (Clean)
Gitleaks Audited
0 credentials, tokens or keys detected
Vulnerability0 CVEs
Trivy Supply Chain
Dependencies vetted against CVE database
Linter & SemVerCompliant
v1.0.0 Specification
Corporate frontmatter & naming enforced
Artifact Checksum (SHA-256):b95ec894f48bb1a7c39455db78be55efcf781f983d87373ca3d97b143be255c7
Bundle Size: 7660
Registry Resource:projects/fra-mts-m2c-app-dev/locations/eu/skills/cloud.google.com-gke-workload-identity
Lifecycle State:TARGET_STATE_ACTIVE
Documentation (SKILL.md)Standard Spec v2.0

gke-workload-identity

Configures and diagnoses Workload Identity Federation for GKE authentication failures for Pods (403 "iam.serviceAccounts.getAccessToken" / permission denied, "could not find default credentials", or GKE metadata server unreachable) by verifying cluster and node-pool Workload Identity configuration, the Kubernetes ServiceAccount (KSA) to IAM binding (direct principal binding and legacy Google ServiceAccount impersonation), target-resource IAM roles, and gke-metadata-server health. Use when setting up KSA/GSA bindings (roles/iam.workloadIdentityUser, iam.gke.io/gcp-service-account) or when a Pod cannot authenticate to Google Cloud APIs. Don't use for in-cluster Kubernetes RBAC errors (API-server authorization), general workload crashes (use gke-workload-troubleshooting), or Pod Security Standards and NetworkPolicies (use gke-workload-security).

Overview

This corporate agent skill is managed in the Google Cloud Enterprise Agent Registry under identifier cloud.google.com-gke-workload-identity.

Quick Install (Gemini CLI)

bash
/registry:install "gke-workload-identity"