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

Uploaded Source

Built Distribution

gcloud_rest_auth-5.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.1.0.tar.gz
  • Upload date:
  • Size: 12.3 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_rest_auth-5.1.0.tar.gz
Algorithm Hash digest
SHA256 2dafdd4069b4edc5aeae7fe70533d47bb5ab297aca5fc0de97058ae9aeb85c9f
MD5 fb020dfe527f570c0503126cc67c7e59
BLAKE2b-256 f9f1b551bbc4572858e5e2968b8e37183fb82b0d76e6e60212e11a5ec21aaa76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.6 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_rest_auth-5.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7b997856b058b07485744834dbd5f2c464b68a5c6617d7dcd7a8a999c3ad0f
MD5 d9007e58ea3e9ebe9e6461aabd71ba3f
BLAKE2b-256 b659f8606f3e77dac2d76cd95be426cf6866ed88805bebc3549e6e1b2c748170

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