Skip to main content

(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 authentication methods: - Service account credentials - Authorized user credentials - GCE metadata credentials - Impersonated service account credentials - External account credentials (for workload identity federation)

Latest PyPI Version (gcloud-aio-auth) Python Version Support

Installation

$ pip install --upgrade gcloud-{aio,rest}-auth

Usage

See our docs.

Contributing

Please see our contributing guide.

Metadata

Release files for gcloud-aio-auth 5.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gcloud-aio-auth 5.6.0
File Size Uploaded Provenance Actions
gcloud_aio_auth-5.6.0.tar.gz 16.5 kB With provenance Details for gcloud_aio_auth-5.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gcloud-aio-auth 5.6.0
File Interpreter ABI Platform Actions
gcloud_aio_auth-5.6.0-py3-none-any.whl Python 3 none any Details for gcloud_aio_auth-5.6.0-py3-none-any.whl

Total release size: 35.7 kB

Release files / gcloud_aio_auth-5.6.0.tar.gz

Download URL gcloud_aio_auth-5.6.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c4bd6d2335ac5376d2f5e2f86830a35385c511412fa1c2e138333038b1346ff7
BLAKE2b-256 checksum
How to use checksums
daf4b29c5373a33169da8eeec4a497551b33f1be2db53751d981f2e55fd79bef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / gcloud_aio_auth-5.6.0-py3-none-any.whl

Download URL gcloud_aio_auth-5.6.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bb42b92defbe2d71a14a4371c75914cb84a285a84f1e8b9bfb72e51ee233219
BLAKE2b-256 checksum
How to use checksums
8c3ef880727be0b085fb8427a100c9eea158e198bcf7c5a732541c4185036a02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for gcloud-aio-auth 5.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for gcloud_aio_auth-5.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

5.6.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page