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

Uploaded Source

Built Distribution

gcloud_rest_auth-5.3.2-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.3.2.tar.gz
  • Upload date:
  • Size: 13.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1057-aws

File hashes

Hashes for gcloud_rest_auth-5.3.2.tar.gz
Algorithm Hash digest
SHA256 164a839381ecff9eeeeec5bc169badae58b713f49ae544834ec058db0c58b636
MD5 b95f8f0e20f5e0e964f39843e9625ba7
BLAKE2b-256 ef2b1fc42d508d50f9509ea0e4e585d1a5c35d078bcecbfb54ad490e3c377b60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.3.2-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Linux/5.15.0-1057-aws

File hashes

Hashes for gcloud_rest_auth-5.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bba022f83c4a18eee5f23fb78183b517c4441421d5d2d317c0085cf4bbe5b761
MD5 20096051a9940386f13a1b691a6ed441
BLAKE2b-256 6c7949f129234f6f1a59fe1ea328b398c874b27758ea72bda4de5c0302d682fc

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