google-cloud-recipe-auth

Automate Google Cloud authentication and authorization with ADC and service account impersonation.

Updated Apr 21, 2026
One-click install
npx skills add https://github.com/brucebanner010198-commits/DevSecOps-Agency --skill google-cloud-recipe-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: google-cloud-recipe-auth
Source: https://github.com/brucebanner010198-commits/DevSecOps-Agency/tree/main/skills/gcp-auth
Command: npx skills add https://github.com/brucebanner010198-commits/DevSecOps-Agency --skill google-cloud-recipe-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines secure authentication and authorization across Google Cloud platforms, reducing credential sprawl and access risks for developers and operators.

Core Features & Use Cases

  • ADC setup and usage guidance for local development and production workloads.
  • Service account impersonation and least-privilege access patterns.
  • Federation and identity management guidance for cross-cloud and hybrid environments.

Quick Start

Install the Google Cloud SDK and run gcloud auth application-default login to create local ADC credentials.

Frequently Asked Questions about google-cloud-recipe-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to set up Google Cloud authentication for local development?

Google Cloud authentication for local development relies on Application Default Credentials (ADC). Install the Google Cloud SDK and run the gcloud auth application-default login command to generate local ADC credentials for secure resource access.

How do I authenticate service accounts in Google Cloud without using keys?

You can authenticate service accounts in Google Cloud without using keys by implementing service account impersonation. This approach establishes least-privilege access patterns, allowing developers and operators to avoid credential sprawl and manage access risks securely.

Does Application Default Credentials work with Cloud Run and GKE?

Yes, Application Default Credentials (ADC) work with Cloud Run and GKE. The Skill provides ADC setup and usage guidance tailored for these deployment platforms, alongside Compute Engine, to automate secure authorization workflows for production workloads.

When do I need identity federation for Google Cloud authentication?

You need identity federation for Google Cloud authentication when managing cross-cloud and hybrid environments. It provides federation and identity management guidance to enable secure authorization workflows across diverse platforms without relying on long-lived keys.

How do I enforce least privilege IAM roles for Google Cloud service accounts?

You can enforce least privilege IAM roles for Google Cloud service accounts by applying service account impersonation patterns. This method specifies exact IAM role requirements, delegating access to human and service identities while avoiding keys and minimizing credential sprawl.