gcloud-auth-verification

Diagnose and resolve missing Google Cloud authentication and Application Default Credentials errors.

Updated Aug 11, 2026
One-click install
npx skills add https://github.com/Yashyasik/zexca-api --skill gcloud-auth-verification-yashyasik
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gcloud-auth-verification
Source: https://github.com/Yashyasik/zexca-api/tree/main/.gemini/skills/gcloud-auth-verification
Command: npx skills add https://github.com/Yashyasik/zexca-api --skill gcloud-auth-verification-yashyasik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When gcloud, bq, dataform, or Python libraries fail with authentication errors like "No credentialed accounts" or "DefaultCredentialsError", this Skill helps identify whether the root cause is missing credentials or IAM permissions, and guides the correct fix. ## Core Features & Use Cases - Error Recognition: Matches common authentication failure messages from gcloud CLI, bq, and Python google.auth libraries. - Independent Verification: Runs gcloud auth list to confirm credential status before asking the user to act, and distinguishes missing authentication from IAM permission issues (403 errors). - Guided Remediation: Instructs the user to run gcloud auth login and gcloud auth application-default login in their own terminal, then verifies the result. - Use Case: A data analyst's notebook fails with DefaultCredentialsError. The Skill checks gcloud auth list, finds no credentialed accounts, and walks the user through setting up ADC so the notebook can connect to BigQuery. ## Quick Start Check why my BigQuery Python script is failing with a DefaultCredentialsError and help me fix the authentication.

Frequently Asked Questions about gcloud-auth-verification

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

FAQPage Schema
How do I fix DefaultCredentialsError in Python Google Cloud libraries?▼

DefaultCredentialsError means Application Default Credentials are not configured. Run `gcloud auth application-default login` in your terminal to set up ADC, then verify with `gcloud auth list` before rerunning your script or notebook.

How to fix "No credentialed accounts" error in gcloud or bq CLI?▼

This error means no account is currently authenticated with the gcloud CLI. Run `gcloud auth login` to authenticate your account, then confirm the account appears in the output of `gcloud auth list`.

Why do I get 403 Access Denied even after gcloud login?▼

A 403 error after successful login usually indicates an IAM permissions problem, not missing authentication. Check that your active account has the required roles, such as BigQuery roles, on the target project rather than logging in again.

What is the difference between gcloud auth login and application-default login?▼

`gcloud auth login` authenticates the gcloud and bq CLI tools themselves. `gcloud auth application-default login` sets up Application Default Credentials, which are required by Python libraries, notebooks, and most client tools.

Can authentication be fixed programmatically instead of running gcloud commands?▼

No, credentials must be established by the user in their own terminal. The correct approach is to stop and ask the user to run the login commands, then verify the result with `gcloud auth list`.