google-auth
google-auth is the Google authentication library for Python. This library provides the ability to authenticate to Google APIs using various methods. It also provides integration with several HTTP libraries.
Support for Google
Application Default Credentials
.Support for signing and verifying
JWTs
.Support for creating Google ID Tokens.
Support for verifying and decoding
ID Tokens
.Support for Google
Service Account credentials
.Support for Google
Impersonated Credentials
.Support for
Google Compute Engine credentials
.Support for
Google App Engine standard credentials
.Support for
Identity Pool credentials
.Support for
AWS credentials
.Support for
Downscoping with Credential Access Boundaries credentials
.Support for various transports, including
Requests
,urllib3
, andgRPC
.
Installing
google-auth can be installed with pip:
$ pip install --upgrade google-auth
google-auth is open-source, so you can alternatively grab the source code from and install from source.
For more information on setting up your Python development environment, please refer to Python Development Environment Setup Guide for Google Cloud Platform.
Usage
The User Guide is the place to go to learn how to use the library and accomplish common tasks.
The Module Reference documentation provides API-level documentation.
License
google-auth is made available under the Apache License, Version 2.0. For more details, see LICENSE
Contributing
We happily welcome contributions, please see our contributing documentation for details.