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

Uploaded Source

Built Distribution

gcloud_aio_auth-5.1.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_aio_auth-5.1.2.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/5.15.0-1039-aws

File hashes

Hashes for gcloud_aio_auth-5.1.2.tar.gz
Algorithm Hash digest
SHA256 ef68dff6a869600aa5566644a06292c80f9c2cb7ee75107e210f0fd17901f3f9
MD5 baf717d3dec817a0939dd253324dbadf
BLAKE2b-256 53d67776e6fdfa20dbddbd84937753430f2f9181037f1666b7edc7859a501342

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gcloud_aio_auth-5.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a85fd36dee7d1691e22aaa312fed78509af083cab31aac98015146aa223b16dc
MD5 7be5a58d1506dace00642ef6a3c521e7
BLAKE2b-256 c1423f37ce3e44122d7e7305e19a75bfcb1458bdbe027fac2328a577505e6ddd

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