--- id: artifacts-keyring version: "1.0.0" license: "MIT" license_treatment: permissive maintenance: active --- # artifacts-keyring — "Automatically retrieve credentials for Azure Artifacts." License: permissive · Maintenance: active · Downloads: 1.3M/mo ## 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 above — verify before relying. Provides automatic credential retrieval for Azure Artifacts feeds, integrating with keyring to enable pip and twine to authenticate with Azure DevOps package repositories. 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 pip install artifacts-keyring uv add artifacts-keyring poetry add artifacts-keyring ## Installing artifacts-keyring 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. 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 --index-url https://pkgs.dev.azure.com//_packaging//pypi/simple # Or with twine: twine upload --repository-url https://pkgs.dev.azure.com//_packaging//pypi/upload 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. 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_current - Install friction: medium - Maintenance: active - Downloads: 1.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure artifacts authentication, azure devops package credentials, keyring azure integration, pip azure artifacts, twine azure devops, azure credential provider python, azure package feed auth, azure-devops, credential-management, package-publishing [View on SkillFed](https://skillfed.io/packages/artifacts-keyring) · [View on PyPI](https://pypi.org/project/artifacts-keyring/)