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.2.tar.gz (14.0 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.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.4.2.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.5 Linux/6.8.0-1029-aws

File hashes

Hashes for gcloud_aio_auth-5.4.2.tar.gz
Algorithm Hash digest
SHA256 184478d081f7cfbb6eff421c22d877d48d17811fa88b269f0c016f5528b3fa31
MD5 bf92f7cd695ca1af217224339eb2d04d
BLAKE2b-256 c344feaf6e52da4d98140917b0d52d86e4724b7323c13a00442fd0f8158f6370

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.4.2-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.12.5 Linux/6.8.0-1029-aws

File hashes

Hashes for gcloud_aio_auth-5.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3adfb6ee5cae4226689fd096ce127e99ee5216623577215abb02ef6722574563
MD5 6250d802fbf2785d375fc290815173c8
BLAKE2b-256 ca2cc72ba3433002909804a36aad87ddca2aa5a36b4a25c366178631d8f97385

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