keyrings.google-artifactregistry-auth
Keyring backend for Google Auth tokens
Decision gist · record as of 2026-08-14
Yes, if you use Google Cloud Artifact Registry for private Python packages and want seamless credential integration with pip and twine. The package is stable and has low install friction, but note that maintenance is aging (last release March 2023, no updates since April 2025). Verify compatibility with your current versions of keyring and google-auth before relying on it in production; consider monitoring the repository for security updates or maintenance signals.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires gcloud SDK to be installed and configured, or GOOGLE_APPLICATION_CREDENTIALS environment variable set to a service account JSON key file.
- Low install friction with four straightforward runtime dependencies.
- Maintenance status is aging—last release was in March 2023 and the repository has not been updated since April 2025, though it remains unarchived and the package is marked Production/Stable.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
last release 2023-03-01 (1262 days) · last repo commit 2025-04-14 · 23 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 19,888,242 downloads/mo, #1,051 on PyPI
Alternatives
Verify before relying
pip install keyrings.google-artifactregistry-auth
# Verify installation
keyring --list-backends
# Then configure .pypirc or pip.conf with your Artifact Registry URL
# and use pip/twine normally—credentials are resolved automatically- Whether the package works with current versions of keyring and google-auth given the aging maintenance status.
- Compatibility with modern Python versions beyond the stated >=3.6 requirement.
What it is and what it does
This package is a keyring backend plugin that bridges Google Cloud authentication and Python package management tools. It integrates with the keyring library to automatically supply credentials when pip or twine interact with private Python repositories hosted on Google Cloud Artifact Registry. The backend searches for credentials in a defined order: first Google Application Default Credentials, then the gcloud SDK's cached access token. Once installed and configured, it handles authentication transparently—pip and twine read the credentials from keyring without requiring manual token management.
The package is designed for teams using Google Cloud infrastructure who want to host private Python packages on Artifact Registry. It works with standard Python packaging tools by registering itself as a keyring backend with priority 9, and it integrates with tox via the `requires` directive to ensure credentials are available before private dependencies are installed. The setup requires configuring `.pypirc` or `pip.conf` with your Artifact Registry repository URL, then installing this package to activate automatic authentication.
Use it for
- Authenticate pip to install private Python packages from Google Cloud Artifact Registry without manual token entry.
- Use twine to publish packages to Artifact Registry with automatic credential resolution from gcloud or service account keys.
- Bootstrap tox environments with credential support so private dependencies can be installed during test runs.
- Manage multiple Artifact Registry repositories across projects using Application Default Credentials or gcloud login.
- Integrate Artifact Registry authentication into CI/CD pipelines using service account JSON keys via GOOGLE_APPLICATION_CREDENTIALS.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Google Cloud Artifact Registry for private Python packages and want seamless credential integration with pip and twine.
The package is stable and has low install friction, but note that maintenance is aging (last release March 2023, no updates since April 2025). Verify compatibility with your current versions of keyring and google-auth before relying on it in production; consider monitoring the repository for security updates or maintenance signals.
Install
keyrings-google-artifactregistry-auth on PyPI
Before you install
Low install friction with four straightforward runtime dependencies. Maintenance status is aging—last release was in March 2023 and the repository has not been updated since April 2025, though it remains unarchived and the package is marked Production/Stable.
Requires gcloud SDK to be installed and configured, or GOOGLE_APPLICATION_CREDENTIALS environment variable set to a service account JSON key file.
License in practice
Licensed under Apache Software License (permissive), so you can use, modify, and distribute it freely with minimal restrictions.
Quickstart
pip install keyrings.google-artifactregistry-auth
# Verify installation
keyring --list-backends
# Then configure .pypirc or pip.conf with your Artifact Registry URL
# and use pip/twine normally—credentials are resolved automatically
Verify before relying
- Whether the package works with current versions of keyring and google-auth given the aging maintenance status.
- Compatibility with modern Python versions beyond the stated >=3.6 requirement.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesgoogle-authkeyringpluggyrequests |
| Maintenance | Aging 1,262 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 19,888,242 / month, #1,051 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only |
Evidence: keyrings.google_artifactregistry_auth-1.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google artifact registry authentication”
- keyrings.google-artifactregistry-authA keyring backend that authenticates to Google Cloud Artifact…
- google-cloud-artifact-registryPython client library for Google Cloud Artifact Registry, enabling…
- google-cloud-containeranalysisPython client library for Google Cloud Container Analysis API,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also keyrings.codeartifact · artifacts-keyring · keyring · google-cloud-artifact-registry · gto · azure-containerregistry · keyrings.alt · dohq-artifactory · oras · google-cloud-alloydb-connector