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

Uploaded Source

Built Distribution

gcloud_aio_auth-5.1.1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.1.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1039-aws

File hashes

Hashes for gcloud_aio_auth-5.1.1.tar.gz
Algorithm Hash digest
SHA256 367c8227f731b075022e6e329d70e170dff35093a47f2981b21cce52c6b1b401
MD5 953d9d2b8f13bdefae10ed442c97ee15
BLAKE2b-256 078e911fc3fd468462e62c283a194b4bc08ceefe9064c85321ea3fcb5ce8703d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/5.15.0-1039-aws

File hashes

Hashes for gcloud_aio_auth-5.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6029ecc30e1a51cdc44cd193345e03699afe0cb2cd7a1d38121d5c6a62469c2
MD5 b206c0ef2cbec515fe39fef78bab6b1b
BLAKE2b-256 97dd32fdfc0f90e0138e57f1d3d344bdb9f7a1ee879d49e1115397afff53946f

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