Przejdź do treści
Biblioteka skilli
DevOps i chmura · Analiza

gcloud-auth-verification

/gcloud-auth-verification

Pomaga rozwiązać problemy z uwierzytelnieniem Google Cloud i Application Default Credentials przy błędach gcloud, bq lub bibliotek Python.

Repozytorium
artemis ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Pomaga rozwiązać problemy z uwierzytelnieniem Google Cloud i Application Default Credentials przy błędach gcloud, bq lub bibliotek Python.

Oryginalny opis (EN)

Guidelines for identifying and resolving missing Google Cloud authentication and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`, or Python libraries return authentication errors.

Jak działa

  1. Common Error Messages
  2. Verification Step
  3. Corrective Action
  4. Post-Login Verification
Sekcje z nagłówków SKILL.md, w oryginale · 42 linii, 230 słów
Podgląd SKILL.md
---
name: gcloud-auth-verification
description: Guidelines for identifying and resolving missing Google Cloud authentication
  and Application Default Credentials (ADC). Use this skill if `gcloud`, `bq`, `dataform`,
  or Python libraries return authentication errors.
license: Apache-2.0
metadata:
  version: v1
  publisher: google
---

# Handling Authentication Issues

## Common Error Messages

1.  **gcloud/bq CLI**:
    -   `ERROR: (bq) You do not currently have an active account selected.`
    -   `No credentialed accounts.`
    -   `Configuration error: No account is currently active.`
2.  **Execution Failures (Python/Notebooks)**:
    -   `google.auth.exceptions.DefaultCredentialsError: Could not automatically
        determine credentials.`
    -   `Forbidden: 403 Access Denied` (when it's clearly an auth issue).

## Verification Step

Before asking the user to log in, independently verify the authentication status
by running: `gcloud auth list` * If the output contains `No credentialed
accounts.`, proceed to the **Corrective Action** steps below. * If an account
*is* listed but the user still receives a `403 Access Denied` error, the issue
is likely **IAM permissions** (e.g., missing BigQuery roles) on their active
account, rather than missing authentication. In this case, investigate the
permissions rather than asking them to log in again.

## Corrective Action

When missing credentials are confirmed, **DO NOT** attempt to fix the
credentials via code or alternative tools. Credentials must be established by
the user.

**Stop and ask the user to run the following commands in their terminal:**

1.  **To authenticate the gcloud CLI**: `gcloud auth login`

2.  **To set up Application Default Credentials (ADC)** (required for BQ CLI AND
    most libraries/notebooks): `gcloud auth application-default login`

## Post-Login Verification

After the user confirms they have logged in, verify with: `gcloud auth list`
Then proceed with the original task.
Pliki w paczce (2)
  • SKILL.json 1 KB
  • SKILL.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie gcloud-auth-verification.

Migawka bazy z 28.10.2026 · wersja paczki 341a803d4f40 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100gcloud-setup
    Instaluje i uwierzytelnia Google Cloud CLI (gcloud, gsutil, bq) na macOS, dodaje zakresy OAuth dla API Google i naprawia problemy z Application Default Credentials.
  • 100gcloud
    Doradza przy gcloud CLI i Google Cloud SDK: instalacja i komponenty (bq, gsutil, kubectl), gcloud init, uwierzytelnianie (ADC, konta usługowe, impersonacja, workload identity federation) i konfiguracje.
  • 90gcp-setup
    Sprawdza środowisko Google Cloud na starcie sesji i ustawia uwierzytelnianie dla gcloud, ADC i kubectl.
  • 100google-cloud-auth-verification
    Wymusza krok zerowy przed pracą z Google Cloud: weryfikacja uwierzytelnienia ADC, gcloud, Spark, Dataproc, BigQuery, GCS i środowisk notebooków.
  • 90gcp-cloud-auth-advisor
    Doradza we wzorcach uwierzytelniania i autoryzacji w Google Cloud: Application Default Credentials, konta usług, Workload Identity Federation, uwierzytelnianie ludzi i usług oraz antywzorce jak pobieranie kluczy kont usług.
  • 100gcloud-usage
    Pomaga w pracy z logami GCloud, zapytaniami Cloud Logging, metrykami Google Cloud, obserwowalnością GCP, analizą śladów i debugowaniem problemów produkcyjnych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.