gcloud-aio-auth

Python Client for Google Cloud Auth

MIT 68 个版本 Python <4.0,>=3.10
Vi Engineering <voiceai-eng@dialpad.com>
安装
pip install gcloud-aio-auth
poetry add gcloud-aio-auth
pipenv install gcloud-aio-auth
conda install gcloud-aio-auth
描述

(Asyncio OR Threadsafe) Python Client for Google Cloud Auth

This is a shared codebase for ``gcloud-aio-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-aio-* 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_".

|pypi| |pythons|

Installation

.. code-block:: console

$ pip install --upgrade gcloud-{aio,rest}-auth

Usage

See our docs_.

Contributing

Please see our contributing guide_.

.. _contributing guide: https://github.com/talkiq/gcloud-aio/blob/master/.github/CONTRIBUTING.rst .. _our docs: https://talkiq.github.io/gcloud-aio .. _Identity-Aware Proxy: https://cloud.google.com/iap .. _scopes: https://developers.google.com/identity/protocols/googlescopes

.. |pypi| image:: https://img.shields.io/pypi/v/gcloud-aio-auth.svg?style=flat-square :alt: Latest PyPI Version (gcloud-aio-auth) :target: https://pypi.org/project/gcloud-aio-auth/

.. |pythons| image:: https://img.shields.io/pypi/pyversions/gcloud-aio-auth.svg?style=flat-square&label=python :alt: Python Version Support :target: https://pypi.org/project/gcloud-aio-auth/

版本列表
5.4.4 2026-02-26
5.4.2 2025-05-24
5.4.1 2025-04-03
5.4.0 2025-03-19
5.3.2 2024-06-14
5.3.1 2024-04-06
5.3.0 2024-04-04
5.3.2a0 2024-06-13
5.2.2 2024-03-14
5.2.1 2024-03-12
5.2.0 2024-02-16
5.1.3 2024-02-16
5.1.2 2023-12-07
5.1.1 2023-10-11
5.1.0 2023-09-22
5.1.0a0 2023-09-14
5.0.0 2023-09-13
4.2.3 2023-06-29
4.2.1 2023-04-05
4.2.0 2023-03-21
4.2.3a0 2023-06-28
4.1.6 2023-03-08
4.1.5 2023-01-11
4.1.2 2022-12-23
4.1.1 2022-12-23
4.1.0 2022-12-23
4.0.1 2022-04-28
4.0.0 2022-04-01
4.0.0a2 2022-03-16
3.8.1 2022-03-17
3.8.0 2022-03-08
3.7.1 2022-03-04
3.7.0 2021-11-11
3.6.2 2021-10-25
3.6.1 2021-07-20
3.6.0 2021-04-15
3.5.0 2021-04-02
3.4.5 2021-01-06
3.4.4 2020-11-23
3.4.3 2020-08-13
3.4.2 2020-08-10
3.4.1 2020-07-31
3.4.0 2020-07-31
3.3.1 2020-07-10
3.3.0 2020-07-02
3.2.2 2020-07-01
3.2.1 2020-05-22
3.2.0 2020-05-21
3.1.0 2020-04-03
3.0.1 2020-01-04
3.0.0 2019-10-15
2.2.0 2019-08-12
2.1.2 2019-08-09
2.1.1 2019-05-30
2.1.0 2019-05-28
2.0.1 2019-02-19
2.0.0 2019-02-01
1.2.0 2019-01-29
1.1.2 2018-08-14
1.1.1 2018-08-09
1.1.0 2018-08-01
1.0.0 2018-05-07
0.6.3 2018-03-22
0.6.2 2018-01-18
0.6.1 2018-01-12
0.6.0 2017-10-24
0.5.0 2017-10-19
0.0.0 2017-10-18