gcs-oauth2-boto-plugin
Auth plugin allowing use the use of OAuth 2.0 credentials for Google Cloud Storage in the Boto library.
What it is and what it does
gcs-oauth2-boto-plugin is a Boto authentication plugin that bridges OAuth 2.0 credentials to Google Cloud Storage. It wraps oauth2client and adds thread- and process-safe token caching on the local machine. The plugin supports both user accounts and service accounts (via JSON or .p12 key files), and allows you to supply credentials through .boto config files, environment variables, or programmatic fallback functions.
The package is designed for applications that use Boto to interact with GCS and need OAuth 2.0 authentication. It handles the credential lifecycle—obtaining, refreshing, and caching tokens—so your application doesn't have to. However, it carries a large dependency footprint (10 runtime packages including oauth2client, google-auth, httplib2, and cryptographic libraries) and has not been actively maintained; the latest release was 416 days ago.
Use it for:
- Authenticate Boto-based GCS access using OAuth 2.0 credentials for user accounts without embedding secrets in code.
- Use service account key files in JSON or .p12 format to authorize Boto applications to access GCS.
- Cache OAuth tokens locally in a thread-safe manner across multiple processes on the same machine.
- Maintain legacy Boto applications that already depend on this plugin without rewriting authentication logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides OAuth 2.0 authentication for Google Cloud Storage access through the Boto library, with automatic token caching and support for both user and service accounts.
No—not for new projects. The package is marked Development Status :: 7 - Inactive and has not been updated in 416 days. If you maintain an existing Boto application that already depends on this plugin, it may continue to work, but migrating to a maintained authentication approach is strongly recommended.
Install
gcs-oauth2-boto-plugin on PyPI
pip
pip install gcs-oauth2-boto-pluginuv
uv add gcs-oauth2-boto-pluginpoetry
poetry add gcs-oauth2-boto-pluginInstalling gcs-oauth2-boto-plugin
Before you install
High install friction due to 10 runtime dependencies. Maintenance status is aging—last release was 416 days ago, though the repository remains active and marked Development Status :: 7 - Inactive.
License in practice
Apache 2.0 is permissive; you may use, modify, and distribute this package freely in commercial and open-source projects, provided you include a copy of the license.
Quickstart
pip install gcs-oauth2-boto-plugin
import gcs_oauth2_boto_plugin
gcs_oauth2_boto_plugin.SetFallbackClientIdAndSecret('client_id', 'client_secret')
Requires boto, oauth2client, google-auth, and cryptographic libraries (rsa, pyOpenSSL); service account authentication requires a JSON or .p12 key file.
Verify before relying
- Whether oauth2client and google-auth dependencies are still maintained or have been superseded.
- Compatibility with current versions of boto and whether alternatives are recommended for new projects.
- Whether the package works with modern Python versions beyond those listed in classifiers.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | 10 — rsa, boto, google-reauth, httplib2, oauth2client, pyOpenSSL, retry_decorator, six, google-auth, google-auth-httplib2 |
| Maintenance | aging — 416 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 654,597/month — #5,521 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: gcs_oauth2_boto_plugin-3.3.tar.gz
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
google-oauthImplements Google OAuth2 authentication for…
permissive · top 15,000 on PyPI
oauth2clientoauth2client is a deprecated OAuth 2.0 client…
permissive · top 1,000 on PyPI
google-auth-oauthlibIntegrates oauthlib with google-auth to handle…
permissive · top 1,000 on PyPI
gcloud-rest-authProvides Python client libraries for Google…
permissive · top 15,000 on PyPI
pydata-google-authProvides helper functions to authenticate to…
permissive · top 1,000 on PyPI
coze-workload-identityImplements OAuth2.0 token exchange…
permissive · top 15,000 on PyPI
google-oauth2-toolGenerates an OAuth2 key file from a Google…
permissive · top 15,000 on PyPI
django-google-ssoAdds Google OAuth 2.0 authentication to Django…
permissive · top 15,000 on PyPI
cloudauthzCloudauthz obtains temporary credentials from…
permissive · top 15,000 on PyPI
google-authHandles server-to-server authentication with…
permissive · top 100 on PyPI