--- id: gcloud-aio-auth version: "5.5.0" license: MIT license_treatment: permissive maintenance: active --- # gcloud-aio-auth — Python Client for Google Cloud Auth License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install gcloud-aio-auth uv add gcloud-aio-auth poetry add gcloud-aio-auth ## Description (Asyncio OR Threadsafe) Python Client for Google Cloud Auth =========================================================== This is a shared codebase for ``gcloud-aio-auth`` and ``gcloud-rest-auth`` This library implements an ``IamClient`` class, which can be used to interact with GCP public keys and URL sign blobs. It also implements an ``IapToken`` class which is used for authorizing against an `Identity-Aware Proxy`_ (IAP) secured GCP service. IAP uses identity tokens which are specific to the target service and allows administrators to configure a list of identities (ex. service accounts, users, or groups) that may access the service. Therefore each ``IapToken`` instance corresponds to an ID token which may be used to authorize against a single IAP service. It additionally implements a ``Token`` class, which is used for authorizing against Google Cloud. The other ``gcloud-aio-*`` package components accept a ``Token`` instance as an argument; you can define a single token for all of these components or define one for each. Each component corresponds to a given Google Cloud service and each service requires various "`scopes`_". The library supports multiple... ## AI interpretation — verify before relying Provides asyncio and threadsafe Python clients for Google Cloud authentication, supporting service accounts, authorized users, GCE metadata, impersonated accounts, and workload identity federation via Token, IamClient, and IapToken classes. Verdict: Production-ready, actively maintained authentication library for Google Cloud with broad credential support and low install friction. MIT license and zero known vulnerabilities make it a safe choice for GCP integration in async Python applications. [View on SkillFed](https://skillfed.io/packages/gcloud-aio-auth) · [View on PyPI](https://pypi.org/project/gcloud-aio-auth/)