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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gcloud_rest_auth-5.4.4-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.4.4.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.8.0-1040-aws

File hashes

Hashes for gcloud_rest_auth-5.4.4.tar.gz
Algorithm Hash digest
SHA256 8778ae1033fe58e8d43b6148b9755a42eb3be1551b8d4fc70c92d51b63cfc744
MD5 f258e0fa88e3ffaac3d5c2c5e228dc45
BLAKE2b-256 58c84c5aa18afc32c68c582b7f8308d41d9ba1b57a715f335fcb137216cba3de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gcloud_rest_auth-5.4.4-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.12.12 Linux/6.8.0-1040-aws

File hashes

Hashes for gcloud_rest_auth-5.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 17854682d27b8c44f4c6e903c3a815cdcc1e9c017ed5819e3faeccacc2f26c18
MD5 09fb93040d6a7fd9634a40dc0c862536
BLAKE2b-256 7af5c748dccb1cf431d8baaf9b90abd25b64d763f41dce6eff7ffee5099ccc85

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page