$npx skillfedfor your agent

keyrings.codeartifact

Automatically retrieve credentials for AWS CodeArtifact.

With conditionsPyPI SecurityReleased Jul 20252.3M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — keyrings_codeartifact-2.1.2-py3-none-any.whl
v2.1.2 · released 2025-07-01 · Python >=3.9 · 2 runtime deps: keyring, boto3

Yes, if you use AWS CodeArtifact for private package distribution. The package is actively maintained, has low install friction, and solves a real authentication problem for CodeArtifact users. The only caveat is the unclear license status—verify it aligns with your project's licensing requirements before committing to it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 3.9 and AWS credentials configured in ~/.aws/credentials or via environment variables.
  • Low friction install with two runtime dependencies (keyring and boto3).
  • Actively maintained with a recent commit on 2026-04-27 and regular releases.

License · maintenance · safety

(unclear) — License status is unclear; the package metadata does not declare an SPDX identifier or raw license text. Verify the license before use in commercial or restricted contexts.

last release 2025-07-01 (409 days) · last repo commit 2026-04-27 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,277,849 downloads/mo, #3,170 on PyPI

Verify before relying

pip install keyrings.codeartifact

Then configure keyring in ~/.keyringrc.cfg:
[codeartifact]
profile_name=default
token_duration=1800

pip install --index-url https://${DOMAIN}-${ACCOUNT}.d.codeartifact.${REGION}.amazonaws.com/pypi/${REPOSITORY}/simple/ mypackage
  • Whether the unclear license status is a known issue or an oversight in package metadata.
  • Specific pip and twine version compatibility requirements for keyring integration.
Same gist for agents: .md · .json

What it is and what it does

keyrings.codeartifact is a keyring backend that bridges AWS CodeArtifact and Python package managers. It extends the keyring library to automatically fetch and inject time-limited AWS access tokens when pip, twine, or other keyring-aware tools attempt to access a private PyPI repository hosted on CodeArtifact. The package reads AWS credentials from ~/.aws/credentials or environment variables and manages token lifecycle transparently.

Once installed, it requires minimal setup: a configuration section in keyringrc.cfg specifying AWS profile, token duration, and optional access keys. It supports both simple single-account setups and advanced multi-account configurations with domain, account, region, and repository name matching to route requests to the correct AWS credentials.

Use it for

  • Publish packages to a private CodeArtifact repository without manually managing temporary tokens.
  • Consume packages from CodeArtifact in CI/CD pipelines using pip with automatic credential injection.
  • Manage multiple AWS accounts or CodeArtifact repositories with different credential profiles in a single configuration.
  • Integrate CodeArtifact authentication into existing pip and twine workflows without script changes.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you use AWS CodeArtifact for private package distribution.

The package is actively maintained, has low install friction, and solves a real authentication problem for CodeArtifact users. The only caveat is the unclear license status—verify it aligns with your project's licensing requirements before committing to it.

Install

keyrings-codeartifact on PyPI

Before you install

Low friction install with two runtime dependencies (keyring and boto3). Actively maintained with a recent commit on 2026-04-27 and regular releases.

Requires Python >= 3.9 and AWS credentials configured in ~/.aws/credentials or via environment variables.

License in practice

License status is unclear; the package metadata does not declare an SPDX identifier or raw license text. Verify the license before use in commercial or restricted contexts.

Quickstart

pip install keyrings.codeartifact

Then configure keyring in ~/.keyringrc.cfg:
[codeartifact]
profile_name=default
token_duration=1800

pip install --index-url https://${DOMAIN}-${ACCOUNT}.d.codeartifact.${REGION}.amazonaws.com/pypi/${REPOSITORY}/simple/ mypackage

Verify before relying

  • Whether the unclear license status is a known issue or an oversight in package metadata.
  • Specific pip and twine version compatibility requirements for keyring integration.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
keyringboto3
MaintenanceActively maintained 409 days since the last release
Last repo commit
First released
Downloads2,277,849 / month, #3,170 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

Evidence: keyrings_codeartifact-2.1.2-py3-none-any.whl

Tags

Capabilities
aws codeartifact authenticationkeyring backend for codeartifactpip twine aws credentialsprivate pypi repository authaws codeartifact keyringautomated token injection pypi
Topics
aws-integrationpackage-management
PyPI keywords
awscodeartifactkeyring

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 › “aws codeartifact authentication”

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

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.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

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.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

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.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

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.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also keyrings.google-artifactregistry-auth · artifacts-keyring · aws-requests-auth · git-remote-codecommit · keyring · botocore · requests-auth-aws-sigv4 · keyrings.alt · aws-request-signer · keyrings.cryptfile