Skip to main content

Python Client for Google Cloud Auth

Project description

This is a shared codebase for gcloud-rest-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-rest-* 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-rest-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_rest_auth-5.2.2.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

gcloud_rest_auth-5.2.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file gcloud_rest_auth-5.2.2.tar.gz.

File metadata

  • Download URL: gcloud_rest_auth-5.2.2.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/5.15.0-1053-aws

File hashes

Hashes for gcloud_rest_auth-5.2.2.tar.gz
Algorithm Hash digest
SHA256 6e291501f92d7d2ee2bd72f942db5d2650e5bd0fcae3fff89ca8e939b4fa87bc
MD5 0de5a488af6ec934a4e8c1e8fc4e44bb
BLAKE2b-256 494f4f8982327ef79b39fafe7ccccc49459b20120e222535f39b0300440a6fd1

See more details on using hashes here.

File details

Details for the file gcloud_rest_auth-5.2.2-py3-none-any.whl.

File metadata

  • Download URL: gcloud_rest_auth-5.2.2-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.2 Linux/5.15.0-1053-aws

File hashes

Hashes for gcloud_rest_auth-5.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a16a34f2b9e5369e57b6a93525c0a5394de45ec3c14b520c271d30be1d68270c
MD5 04c20d93309e12031b80e6d0bd0243c7
BLAKE2b-256 6a5535be129ff81531891aa3aeb0af4c8cf769671f1f87fdc6025cf6343c9b24

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