gcloud-aio-auth
Python Client for Google Cloud Auth
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low installation friction, carries a permissive MIT license, and addresses a core need for async-compatible GCP authentication. It supports modern Python versions (3.10–3.14) and integrates cleanly with asyncio-based applications. No known vulnerabilities. Choose it if you need non-blocking authentication against Google Cloud.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; asyncio usage requires an event loop context.
- Low friction installation with a pure-Python wheel.
- Active maintenance with a recent release (28 days ago) and ongoing commits.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2026-07-17 (28 days) · last repo commit 2026-08-13 · 348 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 49,744,022 downloads/mo, #578 on PyPI
Alternatives
Verify before relying
pip install gcloud-aio-auth
from gcloud.aio.auth import Token
import aiohttp
async with aiohttp.ClientSession() as session:
token = Token(session=session)
access_token = await token.get()- Whether the library's scope configuration aligns with your specific GCP service requirements.
- Performance characteristics when handling high-frequency token refresh cycles.
- Compatibility details with specific GCP services beyond the documented scope system.
What it is and what it does
gcloud-aio-auth is a Python library that handles authentication against Google Cloud Platform services using asyncio-compatible or threadsafe patterns. It abstracts away the complexity of credential management by supporting multiple authentication flows—service accounts, user credentials, GCE metadata, service account impersonation, and workload identity federation—and provides a unified Token class that integrates with other gcloud-aio-* components.
The library is built on aiohttp, cryptography, pyjwt, and tenacity, making it suitable for applications that need non-blocking I/O when obtaining or refreshing credentials. It also provides specialized classes like IamClient for interacting with GCP public keys and IapToken for securing access to Identity-Aware Proxy protected services, where each token instance corresponds to a specific target service.
Use it for
- Obtain and refresh access tokens for asyncio-based applications calling Google Cloud APIs without blocking.
- Authenticate against Identity-Aware Proxy (IAP) secured GCP services using identity tokens.
- Manage service account impersonation workflows in multi-tenant or federated identity scenarios.
- Sign blobs with GCP service account credentials for request signing or verification.
- Integrate credential handling across multiple gcloud-aio-* library components using a shared Token instance.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low installation friction, carries a permissive MIT license, and addresses a core need for async-compatible GCP authentication. It supports modern Python versions (3.10–3.14) and integrates cleanly with asyncio-based applications. No known vulnerabilities. Choose it if you need non-blocking authentication against Google Cloud.
Install
gcloud-aio-auth on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a recent release (28 days ago) and ongoing commits. Depends on well-established libraries: aiohttp, cryptography, pyjwt, tenacity, and chardet.
Requires Python 3.10 or later; asyncio usage requires an event loop context.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install gcloud-aio-auth
from gcloud.aio.auth import Token
import aiohttp
async with aiohttp.ClientSession() as session:
token = Token(session=session)
access_token = await token.get()
Verify before relying
- Whether the library's scope configuration aligns with your specific GCP service requirements.
- Performance characteristics when handling high-frequency token refresh cycles.
- Compatibility details with specific GCP services beyond the documented scope system.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesaiohttpchardetcryptographypyjwttenacity |
| Maintenance | Actively maintained 28 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 49,744,022 / month, #578 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: gcloud_aio_auth-5.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google cloud auth python async”
- gcloud-aio-authProvides asyncio-compatible and threadsafe Python clients for Google…
- gcloud-rest-authProvides Python client libraries for Google Cloud authentication,…
- pydata-google-authProvides helper functions to authenticate to Google APIs using user…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also gcloud-rest-auth · coze-workload-identity · gcloud-aio-storage · gcloud-aio-pubsub · gcloud-aio-datastore · gcloud-aio-taskqueue · agilicus · gcloud-aio-bigquery · akeyless-cloud-id · cloudauthz