artifacts-keyring
"Automatically retrieve credentials for Azure Artifacts."
Decision gist · record as of 2026-08-14
Yes, if you publish or consume Python packages from Azure Artifacts feeds within Azure DevOps. The package is actively maintained, has no known vulnerabilities, and eliminates manual credential management for pip and twine. Install it only if you actually use Azure Artifacts; it adds no value for other package repositories.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or higher, pip 19.2 or higher, and twine 1.13.0 or higher.
- If a platform-specific wheel is unavailable, .NET runtime 8.0.X or later is required.
- Medium install friction due to compiled wheels for multiple Python versions (3.9–3.13) and platforms; if no matching wheel is found, the .NET runtime 8.0.X or later is required.
License · maintenance · safety
"MIT" (permissive) — Licensed under MIT (permissive), so you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2025-08-13 (366 days) · last repo commit 2026-08-10 · 44 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,293,421 downloads/mo, #4,099 on PyPI
Alternatives
Verify before relying
pip install artifacts-keyring
# Then use with pip:
pip install <package_name> --index-url https://pkgs.dev.azure.com/<org>/_packaging/<feed>/pypi/simple
# Or with twine:
twine upload --repository-url https://pkgs.dev.azure.com/<org>/_packaging/<feed>/pypi/upload <dist>- Whether the package works with Azure Artifacts feeds outside of Azure DevOps (e.g., standalone Azure Artifacts instances).
- Performance impact or latency when retrieving credentials from the underlying artifacts-credprovider on first use.
- Compatibility with alternative credential storage backends beyond the default keyring implementation.
What it is and what it does
artifacts-keyring is a thin wrapper around Microsoft's artifacts-credprovider that extends the Python keyring library to handle authentication with Azure Artifacts feeds. Once installed, it automatically integrates with pip and twine, allowing you to publish packages to or install packages from Azure DevOps-hosted package repositories without manually managing credentials.
The package works by hooking into keyring's credential lookup mechanism, so pip and twine discover and use it automatically. It supports environment variable configuration for non-interactive scenarios and can operate in different deployment contexts, including Docker. The underlying credential provider handles the complexity of Azure authentication; this package simply makes it available to Python's standard packaging tools.
Use it for
- Publishing internal Python packages to an Azure Artifacts feed using twine without hardcoding credentials.
- Installing private packages from an Azure DevOps feed in CI/CD pipelines with automatic credential discovery.
- Setting up local development environments to consume packages from Azure Artifacts feeds without manual token management.
- Running pip or twine in non-interactive environments (e.g., containers) by configuring ARTIFACTS_KEYRING_NONINTERACTIVE_MODE.
- Integrating Azure Artifacts authentication into existing Python workflows that already use keyring for credential storage.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you publish or consume Python packages from Azure Artifacts feeds within Azure DevOps.
The package is actively maintained, has no known vulnerabilities, and eliminates manual credential management for pip and twine. Install it only if you actually use Azure Artifacts; it adds no value for other package repositories.
Install
artifacts-keyring on PyPI
Before you install
Medium install friction due to compiled wheels for multiple Python versions (3.9–3.13) and platforms; if no matching wheel is found, the .NET runtime 8.0.X or later is required. Repository is active with recent commits (2026-08-10) and has been maintained since its initial release in 2019-08-02.
Requires Python 3.9 or higher, pip 19.2 or higher, and twine 1.13.0 or higher. If a platform-specific wheel is unavailable, .NET runtime 8.0.X or later is required.
License in practice
Licensed under MIT (permissive), so you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install artifacts-keyring
# Then use with pip:
pip install <package_name> --index-url https://pkgs.dev.azure.com/<org>/_packaging/<feed>/pypi/simple
# Or with twine:
twine upload --repository-url https://pkgs.dev.azure.com/<org>/_packaging/<feed>/pypi/upload <dist>
Verify before relying
- Whether the package works with Azure Artifacts feeds outside of Azure DevOps (e.g., standalone Azure Artifacts instances).
- Performance impact or latency when retrieving credentials from the underlying artifacts-credprovider on first use.
- Compatibility with alternative credential storage backends beyond the default keyring implementation.
Package facts
| License | "MIT" permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packageskeyringrequests |
| Maintenance | Actively maintained 366 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,293,421 / month, #4,099 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: artifacts_keyring-1.0.0-cp310-cp310-macosx_10_15_x86_64.whl; artifacts_keyring-1.0.0-cp310-cp310-macosx_11_0_arm64.whl; artifacts_keyring-1.0.0-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; artifacts_keyring-1.0.0-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; artifacts_keyring-1.0.0-cp310-cp310-win_amd64.whl; artifacts_keyring-1.0.0-cp311-cp311-macosx_10_15_x86_64.whl; artifacts_keyring-1.0.0-cp311-cp311-macosx_11_0_arm64.whl; artifacts_keyring-1.0.0-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; artifacts_keyring-1.0.0-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; artifacts_keyring-1.0.0-cp311-cp311-win_amd64.whl; artifacts_keyring-1.0.0-cp312-cp312-macosx_10_15_x86_64.whl; artifacts_keyring-1.0.0-cp312-cp312-macosx_11_0_arm64.whl; artifacts_keyring-1.0.0-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; artifacts_keyring-1.0.0-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; artifacts_keyring-1.0.0-cp312-cp312-win_amd64.whl; artifacts_keyring-1.0.0-cp313-cp313-macosx_10_15_x86_64.whl; artifacts_keyring-1.0.0-cp313-cp313-macosx_11_0_arm64.whl; artifacts_keyring-1.0.0-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl; artifacts_keyring-1.0.0-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl; artifacts_keyring-1.0.0-cp313-cp313-win_amd64.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 › “azure artifacts authentication”
- artifacts-keyringProvides automatic credential retrieval for Azure Artifacts feeds,…
- azure-containerregistryClient library for managing container images, artifacts, and metadata…
- azure-synapse-artifactsProvides Python client library for Azure Synapse Artifacts, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Cryptography packages
Certifi provides Mozilla's curated collection of root SSL certificates for Python applications to validate TLS hosts and verify certificate trustworthiness.
cryptography provides cryptographic recipes and low-level primitives for symmetric encryption, message digests, key derivation, and other common cryptographic algorithms in Python.
Pure-Python RSA encryption, decryption, signing, and key generation following PKCS#1 v1.5, with command-line and library interfaces.
pyOpenSSL wraps OpenSSL's SSL/TLS functionality for Python, providing high-level connection objects and certificate handling through a Python-friendly interface around OpenSSL's cryptographic operations.
Provides Microsoft Entra ID token-based authentication for Azure SDK clients through a set of TokenCredential implementations that handle OAuth flows and managed identity support.
PyNaCl provides Python bindings to libsodium for digital signatures, secret-key and public-key encryption, hashing, message authentication, and password-based key derivation.
See also microsoft-kiota-authentication-azure · keyrings.google-artifactregistry-auth · keyrings.codeartifact · keyring · azure-mgmt-core · azure-keyvault-securitydomain · keyrings.alt · azure-devops · vsts