Skip to main content

(Asyncio OR Threadsafe) Python Client for Google Cloud Auth

This is a shared codebase for gcloud-rest-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-rest-* 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-rest-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-rest-auth 5.5.3

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-rest-auth 5.5.3
File Size Uploaded
gcloud_rest_auth-5.5.3.tar.gz 16.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gcloud-rest-auth 5.5.3
File Interpreter ABI Platform
gcloud_rest_auth-5.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 34.8 kB

Release files / gcloud_rest_auth-5.5.3.tar.gz

Download URL gcloud_rest_auth-5.5.3.tar.gz
Size 16.1 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd11e277a4904ff74b90144e714a430a53ecb39804e608ea69194977820b307
BLAKE2b-256 checksum
How to use checksums
f83e07aabc67d9692ad4f2838d5e8aed18545800b847c3181d68d3dc197e4f2d
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 16, 2026.

Transparency log

Release files / gcloud_rest_auth-5.5.3-py3-none-any.whl

Download URL gcloud_rest_auth-5.5.3-py3-none-any.whl
Size 18.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09406575400799fc3dccd117c07a5cee30cde33e631a346d49297a427bf18aed
BLAKE2b-256 checksum
How to use checksums
e4d39b50f4eba08ac767a5259d15dd4a93c2cefc50ee7547c270378612a75fec
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 16, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

5.5.3 This release

2 release files

5.5.2

2 release files

5.5.1

2 release files

5.5.0

2 release files

5.4.4

2 release files

5.4.2

2 release files

5.4.1

2 release files

5.4.0

2 release files

5.3.2

2 release files

5.3.1

2 release files

5.3.0

2 release files

5.2.2

2 release files

5.2.1

2 release files

5.2.0

2 release files

5.1.3

2 release files

5.1.2

2 release files

5.1.1

2 release files

5.1.0

2 release files

5.0.0

2 release files

4.2.3

2 release files

4.2.1

2 release files

4.2.0

2 release files

4.1.6

2 release files

4.1.5

2 release files

4.1.2

2 release files

4.1.1

2 release files

4.1.0

2 release files

4.0.1

2 release files

4.0.0

2 release files

3.8.1

2 release files

3.8.0

2 release files

3.7.1

2 release files

3.7.0

2 release files

3.6.2

2 release files

3.6.1

2 release files

3.6.0

2 release files

3.5.0

2 release files

3.4.5

2 release files

3.4.4

2 release files

3.4.3

2 release files

3.4.2

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.2

2 release files

3.2.1

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

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