In short.
Google Cloud Recipe Auth is an instruction skill for developers using coding assistants to configure Google Cloud access, but its examples leave service-specific configuration to the user. Version 1.0.2 distinguishes CLI sign-in from application credentials and recommends impersonation, attached service accounts or federation instead of downloaded service-account keys. Its companion reference specifies command attribution with a user opt-out. Supported assistant hosts, successful application requests and operating costs are not established by the supplied files.
Researched and written by an AI model and checked by a second AI model. How it works
The scope comprises SKILL.md and references/attribution.md in plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth, plus the repository-level LICENSE, at revision 1e285f9d77ab260fd50944b49c3e2269b459474c. It excludes sibling skills, other plugin files, linked documentation and uncaptured repository content. Installation, command execution, API behavior and application outcomes were not assessed.
The overview
Identity
The skill's declared name is google-cloud-recipe-auth, and its main heading is Authenticating and Authorizing to Google Cloud (IAM). It sits inside the google-cloud-developer plugin in google/skills. SKILL.md declares version 1.0.2 and category GettingStarted. The instruction package consists of SKILL.md and references/attribution.md.
The original source folder is [https://github.com/google/skills/tree/main/plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth]. The supplied evidence also includes the repository-level LICENSE.
Assessment
Its strongest use is helping an assistant choose an authentication approach before proposing commands or application changes. The distinction between CLI credentials and application credentials is particularly useful for local development. Separate guidance addresses managed Google Cloud workloads, Kubernetes and external environments.
The examples are outlines rather than complete project configurations. They support credential and permission decisions, but do not establish that a particular deployment can authenticate or access its intended resources.
Users
Beginners get an explanation of authentication as proving identity and authorization as determining allowed actions. Developers and administrators get guidance for console access, CLI commands and local application code. Platform engineers get separate paths for Compute Engine, Cloud Run, GKE and workloads outside Google Cloud.
The instructions are addressed to an assistant, which is expected to ask about the caller, runtime, target and client library. The guide also distinguishes workforce identities from customer sign-in through IAP or Identity Platform.
Capabilities
The guide covers managed workforce accounts, workforce federation, Application Default Credentials, service account impersonation, attached service accounts, GKE Workload Identity Federation and federation for external workloads. It explains predefined and custom IAM roles, restricted API keys, short-lived credentials and OIDC ID tokens for calling a custom service.
It also flags access scopes on Compute Engine VMs and GKE node pools as a possible additional constraint when IAM permissions appear correct. These are documented troubleshooting considerations, not automatic diagnostic capabilities.
Using it
Requirements
Assistant use requires a host able to read the skill instructions and resolve the relative references/attribution.md file. Supported hosts, installation paths, operating systems and minimum versions are unspecified.
Applying the examples requires an appropriate Google Cloud identity, a target resource and someone authorized to make any necessary IAM grants. Local CLI examples assume gcloud, and the Python example assumes the Cloud Storage client library. Exact dependency versions and detailed impersonation or federation prerequisites are not supplied.
Mechanism
The skill first establishes who is authenticating, where the code runs, which service is targeted and whether a client library is involved. It then separates credential selection from IAM authorization, where an identity receives a role on a resource. Its documented ADC lookup order is GOOGLE_APPLICATION_CREDENTIALS, the local gcloud credentials file, then attached service-account credentials through the metadata server. Under that order, an existing environment variable can change which identity application code uses.
The attribution reference specifies CLOUDSDK_METRICS_REQUEST_ATTRIBUTION for direct gcloud commands and a User-Agent suffix for direct API or remote MCP HTTP requests. It excludes generated scripts, Terraform and application code from those tags and permits users to opt out. The reference says the tag itself carries no user data; broader telemetry contents and retention are not documented.
Setup
Keep SKILL.md and references/attribution.md in their documented relative arrangement. The files supply no host-specific installer or registration command.
For local application development, the documented starting points are gcloud auth application-default login or service account impersonation. The guide distinguishes these from gcloud auth login, which authenticates the CLI. For Google Cloud workloads it recommends attaching a custom service account with limited permissions; for external workloads it recommends federation. Each path still requires environment-specific configuration.
Example
The local Python-to-Cloud Storage example obtains ADC with gcloud auth application-default login, grants the developer roles/storage.objectViewer on a bucket, and creates storage.Client(). The intended result is a client finding credentials through ADC and receiving access allowed by the bucket's role grant.
This illustrates credential discovery and authorization as separate steps. The file supplies no complete Python program, bucket request or observed output. An earlier ADC source, such as GOOGLE_APPLICATION_CREDENTIALS, can take precedence over the local login file.
Assessment & evidence
Limitations
The two skill files contain instructions and examples, with no executable authentication implementation, complete deployment configuration or test suite. Host compatibility, successful authorization and security outcomes are unassessed.
The private Cloud Run example names an OIDC ID token and Authorization header but does not specify a token audience or caller invocation role binding. The Cloud SQL example omits connection-driver code and networking configuration. The two files also show different attribution strings: the reference includes plugin:google-cloud-developer, while the main file's string omits it. The practical effect of that variation is unknown.
Reasoning
The guide's useful organizing principle is that credentials and permissions solve different problems: successful sign-in alone does not establish authorized access. Its ADC lookup explanation also helps identify why an application might use an unexpected identity.
The expected benefit is fewer credential-selection mistakes, inferred from these distinctions rather than demonstrated by results. Its preference for impersonation, attached identities and federation aims to avoid distributing long-lived service-account keys; no measured reduction in incidents or troubleshooting time is supplied.
Alternatives
The skill points to the Google Cloud authentication overview [https://docs.cloud.google.com/docs/authentication.md.txt] and IAM overview [https://docs.cloud.google.com/iam/docs/overview.md.txt]. Reading those directly is an option for users who do not need assistant-specific questions and command-attribution instructions.
Within the guide, ADC, impersonation, attached identities and federation are choices for different callers and runtimes. IAP and Identity Platform address different application-access needs. The files provide no comparison with competing skills or authentication libraries.
Evidence
The evidence consists of SKILL.md, references/attribution.md and the repository LICENSE, all pinned to revision 1e285f9d77ab260fd50944b49c3e2269b459474c. The fixed-version main file is available at [https://raw.githubusercontent.com/google/skills/1e285f9d77ab260fd50944b49c3e2269b459474c/plugins/cloud/google-cloud-developer/skills/google-cloud-recipe-auth/SKILL.md].
These files establish the written instructions, examples and license terms. They include no command output, successful application requests, compatibility results or benchmarks. Linked documentation is referenced but not supplied in full.
Access & freshness
Costs
The captured Apache-2.0 license grants no-charge, royalty-free rights to the covered files. This does not establish the cost of assistant hosting, Google Cloud services, identity products or related infrastructure. No prices, usage assumptions or cost measurements are supplied, so total operating cost is unknown.
Rights
The supplied repository LICENSE is Apache License 2.0. It permits reproduction, modification and redistribution subject to its conditions. Redistribution must include the license, preserve applicable source notices, identify modified files and retain applicable NOTICE attribution if such a file accompanies the work. The supplied manifest lists no separate NOTICE file.
The license includes a conditional patent grant, limits trademark permission and disclaims warranties. The command-attribution instructions are documented separately in the skill and should not be confused with the license's redistribution obligations.
Freshness
The supplied snapshot was captured on 15 November 2026 at 17:27 UTC, and SKILL.md declares version 1.0.2. The capture time is not a release date. The files do not establish a release history, commit date or current compatibility with Google Cloud services.
The original main-branch folder and linked Cloud documentation can change independently of the pinned revision. Current main-branch contents are unknown.
Actions
Before applying the guidance, identify the caller, runtime, target service and client library. Choose the corresponding credential method, confirm which identity the application will use and arrange appropriately limited IAM grants. Consult the attribution reference if an assistant will issue commands, including its user opt-out.
Complete the service-specific details omitted by the examples. For private Cloud Run calls, this includes resolving token audience and caller permissions. Verify the configured identity and intended access in your own environment before relying on the configuration; the source supplies no successful runtime result.
