google-cloud-recipe-auth
Skill by google
Guides an AI assistant through Google Cloud Identity and Access Management, authentication and authorization. It covers human users, service identities, Application Default Credentials and secure access practices. Aimed at developers and administrators who call Google Cloud services and APIs.
Install google-cloud-recipe-auth
Built from the published package, never by AI.
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/google-cloud-recipe-auth ~/.claude/skills/google-cloud-recipe-authRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install google-cloud-recipe-auth in Claude Code
git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/cloud/google-cloud-recipe-auth ~/.gemini/antigravity-cli/skills/google-cloud-recipe-authAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install google-cloud-recipe-auth in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The google-cloud-recipe-auth skill provides guidance on Identity and Access Management and on authenticating and authorizing to Google Cloud services and APIs. It explains the difference between authentication, which proves who you are, and authorization, which decides what you can do. It also lists clarifying questions about who is authenticating, where the code runs, and what the target is.
The skill covers human identities such as Google-managed accounts, federation and Workforce Identity Federation. It describes developer access through the gcloud CLI, Application Default Credentials and service account impersonation, and recommends attaching service accounts instead of using keys. It also covers API keys, Identity-Aware Proxy, Identity Platform, GKE Workload Identity and IAM roles. It is intended for developers and administrators who need secure access to Google Cloud.
Written from the project's SKILL.md and checked against it.
What it can do
- Human identity guidanceExplains Google-managed accounts, federation and Workforce Identity Federation for workforce users.
- Local development authCovers gcloud auth login and gcloud auth application-default login for local code.
- Service account impersonationRecommends short-lived credentials through impersonation instead of downloaded service account keys.
- Service-to-service authExplains attaching service accounts to Compute Engine VMs and Cloud Run services.
- GKE and external workloadsCovers Workload Identity Federation for GKE and for code running on AWS, Azure or on-prem.
- API key guidanceAdvises restricting API keys to specific APIs and projects and storing them in Secret Manager.
- Access scopes checkNotes that legacy VM access scopes can block a service account even when IAM permissions are correct.
- IAM authorizationExplains allow policies, predefined roles and custom roles for granting access.
- Example flowsWalks through local Python access, Cloud Run to Cloud SQL and OIDC calls to private Cloud Run.
What you need
- Google Cloud account
- gcloud CLI for command-line authentication
Try asking
- How do I set up Application Default Credentials for local Python code?
- Which service account should my Cloud Run service use to reach Cloud SQL?
- How can I avoid downloading service account keys for local development?
Good to know
- Advises against service account keys, so keys are not recommended for local use.
- Legacy Compute Engine VMs and GKE node pools also depend on access scopes alongside IAM.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/cloud/google-cloud-recipe-auth/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md12 KB -
references/attribution.md2 KB
Alternatives to google-cloud-recipe-auth
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
google-cloud-recipe-auth: common questions
Should I use service account keys for Google Cloud apps?
The skill advises against keys and recommends attaching a custom service account to the resource. Local developers should use service account impersonation instead.
What is the difference between gcloud auth login and ADC?
gcloud auth login authenticates the CLI for management commands. Application Default Credentials create a local file that client libraries use to act as the user when code runs locally.
How does the skill handle workloads outside Google Cloud?
It recommends Workload Identity Federation to exchange an external token, such as an AWS IAM role, for a short-lived Google Cloud access token without keys.
How do I install google-cloud-recipe-auth?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is google-cloud-recipe-auth free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is google-cloud-recipe-auth safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to google-cloud-recipe-auth?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
