Skip to main content

Python Client for Google Cloud Auth

Project description

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”.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gcloud_aio_auth-5.4.4.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcloud_aio_auth-5.4.4-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file gcloud_aio_auth-5.4.4.tar.gz.

File metadata

  • Download URL: gcloud_aio_auth-5.4.4.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.8.0-1040-aws

File hashes

Hashes for gcloud_aio_auth-5.4.4.tar.gz
Algorithm Hash digest
SHA256 70b8c6edf8655003251905372e6815a24ab839bf201788a903964570e9b4091f
MD5 d623c2d9fce60a238df5c3685f89e4ae
BLAKE2b-256 6e15a3acb1393934d4909efe75c69fe94536c592ff5953f03922d20186fe4fb1

See more details on using hashes here.

File details

Details for the file gcloud_aio_auth-5.4.4-py3-none-any.whl.

File metadata

  • Download URL: gcloud_aio_auth-5.4.4-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.8.0-1040-aws

File hashes

Hashes for gcloud_aio_auth-5.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 aa4795365a1f9fdeec9b30e5616f87a95b00d76db60da530d12487c846d2a419
MD5 faea5b55f12c32241259e46ecbafc5c2
BLAKE2b-256 4362e25afa9e88260230b654a44a8aed75e43cea0dd1e67e43fb7b9a9a7e49e9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page