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”.
Installation
$ pip install --upgrade gcloud-{aio,rest}-auth
Usage
See our docs.
Contributing
Please see our contributing guide.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gcloud_rest_auth-5.1.1.tar.gz
.
File metadata
- Download URL: gcloud_rest_auth-5.1.1.tar.gz
- Upload date:
- Size: 12.4 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6d988e565c8f80d5d3dea2daeeb56dfd92929627a35e4868861c70dc1c9cd22 |
|
MD5 | 3174ac086d5ac787b48e1b76f4dbb7a0 |
|
BLAKE2b-256 | 9ec05a5bcf21c5821c30c5adb3efb9a9227dddfd44a9763c590c0d431e71eb34 |
File details
Details for the file gcloud_rest_auth-5.1.1-py3-none-any.whl
.
File metadata
- Download URL: gcloud_rest_auth-5.1.1-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba9f7eb1b9ab836b32c475d981fbfb2e83597d01a59518c8e240d91ebc00154a |
|
MD5 | d8d6a931ff0f724245d27a6bb5bb0e01 |
|
BLAKE2b-256 | af17afec8a5ea08b30fd2eb0a0c21307f7251b7f8c56799e069431f13ef389bf |