Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

google-cloud-recipe-auth

Recommends the right Google Cloud authentication method and IAM roles for your users, services, and code.

  • Part of google/skills
  • 17.1k installs
  • DevOps & Self-hosting · Cloud resources

When to use it

You have code or a deployment that needs to call a Google Cloud API but you're unsure whether to use ADC, a service account, impersonation, or Workload Identity Federation.

For example

You say

Use google-cloud-recipe-auth to help me: my Python script runs on my laptop and needs to read a Cloud Storage bucket, but I don't want to download a service account key. What should I set up?

You get
  • ADC login steps
  • Impersonation setup
  • Bucket role recommendation

How it works

  • Asks who is authenticating, where the code runs, and what it targets before recommending a method.
  • Flags common pitfalls like Compute Engine access scopes and unrestricted API keys.