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.3.2.tar.gz (13.5 kB view details)

Uploaded Source

Built Distribution

gcloud_aio_auth-5.3.2-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.3.2.tar.gz
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1057-aws

File hashes

Hashes for gcloud_aio_auth-5.3.2.tar.gz
Algorithm Hash digest
SHA256 860a79de6f1a692b5fadcf27e4243d4128fa81823f177aeff926eba00b5c2255
MD5 abd2805a5526f4d9fa17bf7b53b7bcee
BLAKE2b-256 8e9263e4a4c04e800427b052983b4ebc05d27280ec30fef61fbea8664318f5f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1057-aws

File hashes

Hashes for gcloud_aio_auth-5.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 78b318ca90228df5f0883d36215e8f102daeb7c08aa09ba6e857a5e6ca3cf321
MD5 ce74ef72a1565f2fb3112d7731a1b568
BLAKE2b-256 780a9036f0cef9426854c6cddb0f8d4aef8e6f9a05bb1cb1c27c73b301a9e202

See more details on using hashes here.

Supported by

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