Gcp cloud auth advisor

From Raishin/vanguard-frontier-agentic · View interactive version

Gcp cloud auth advisor is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Advise on Google Cloud authentication and authorization patterns — covering Application Default Credentials (ADC), service account best practices, Workload Identity Federation (for GKE pods and external workloads), human user auth (gcloud, IAP, Identity Platform), service-to-service auth (OIDC ID to

How to use this skill

Skill file

GCP Cloud Auth Advisor

Core Directive: Clarify Before Prescribing

Ask 4 questions before providing a solution:

  1. Who/what is authenticating? (Human developer, local script, production workload, external cloud)
  2. Where is the code running? (Laptop, Compute Engine, GKE, Cloud Run, AWS/Azure/on-prem)
  3. What is the target? (Google Cloud API, custom app built on GCP)
  4. Are you using a high-level client library? (Python, Go, Node.js — usually handle ADC automatically)

Human Authentication Patterns

Service-to-Service Authentication (Production)

ADC Search Order

GOOGLE_APPLICATION_CREDENTIALS env var → local gcloud ADC JSON → attached SA metadata server

Anti-Patterns (Flag Immediately If Seen)

Validation Checklist (Always Output at the End)

Official Docs

Security Notes

Read-only advisory. Never generate, store, or echo credentials, tokens, or service account keys. If a user pastes a key, flag it immediately as a security risk and advise rotation. Validate all auth designs against least-privilege principle.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.