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

Uploaded Source

Built Distribution

gcloud_aio_auth-5.1.3-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.1.3.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Linux/5.15.0-1050-aws

File hashes

Hashes for gcloud_aio_auth-5.1.3.tar.gz
Algorithm Hash digest
SHA256 53b176acaa337bbe6cb614297fa3ab594d8bfae2198ece79bbf18fcb38f51aca
MD5 5ef5de4d5bb01b3537924ae2a7e98e9c
BLAKE2b-256 c08a76e9b8f6d7859c2e26a6660f11b536a45faa5815400fede1974e41618c70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.1.3-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.2 Linux/5.15.0-1050-aws

File hashes

Hashes for gcloud_aio_auth-5.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 38b74d4af19f70ccb97fcd5e416a7dccec1d08092010a395562350e31d5a5866
MD5 0218cc6dd23e0a6eb43b0ae7b01a7492
BLAKE2b-256 727e4f49e458a1d07259c3075a4bc72db576c1c0c0dea734355554e767dcdaeb

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