keyrings.alt
Alternate keyring implementations
What it is and what it does
keyrings.alt provides alternate implementations of credential storage backends for the keyring package. Rather than using the system's native secure storage, these backends offer alternative approaches—most notably a plaintext file-based storage. The package explicitly warns that these backends carry security risks and were extracted from the main keyring project to isolate experimental or discouraged implementations.
The package is designed for developers who need non-standard credential handling, such as testing scenarios or development environments where the standard keyring backends are unsuitable. It depends on jaraco.classes and jaraco.context for utility functionality. The maintainers explicitly discourage production use of these backends and recommend understanding the security implications before deployment.
Use it for:
- Testing keyring-dependent code in CI/CD pipelines where system keyrings are unavailable
- Development environments where plaintext credential storage is acceptable for local testing
- Evaluating alternative credential storage strategies before committing to a production backend
- Scenarios requiring custom or legacy credential storage formats incompatible with standard keyrings
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides alternate keyring backend implementations for the keyring package, including plaintext and other non-standard credential storage methods.
Yes, but only for development, testing, or specialized scenarios where you understand the security trade-offs. The package is actively maintained and carries no known vulnerabilities, but the description explicitly warns against production use due to security risks. Install only if you have a specific need for an alternate backend and accept responsibility for the security implications.
Install
keyrings-alt on PyPI
pip
pip install keyrings-altuv
uv add keyrings-altpoetry
poetry add keyrings-altInstalling keyrings.alt
Before you install
Low install friction with only two lightweight runtime dependencies. Active maintenance with latest release on 2024-08-14 and last commit on 2026-04-13.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install keyrings.alt
from keyrings.alt.file import PlaintextKeyring
keyring = PlaintextKeyring()
keyring.set_password('service', 'username', 'password')
Requires Python >=3.8. The plaintext backend stores credentials unencrypted on the filesystem.
Verify before relying
- Which specific keyring backends are included beyond PlaintextKeyring and their security implications
- Whether this package is intended as a testing/development tool or has legitimate production use cases
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — jaraco.classes, jaraco.context |
| Maintenance | actively maintained — 730 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,930,160/month — #2,448 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: keyrings.alt-5.0.2-py3-none-any.whl
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
keyringKeyring provides safe password and credential…
permissive · top 1,000 on PyPI
keyrings.cryptfileA keyring backend that stores passwords in an…
permissive · top 15,000 on PyPI
oathtoolGenerates one-time passwords (TOTP codes) from…
permissive · top 15,000 on PyPI
aws-encryption-sdkEncrypts and decrypts data using AWS KMS keys…
permissive · top 5,000 on PyPI
bidictProvides a bidirectional dictionary (bidict)…
copyleft · top 1,000 on PyPI
keyrings.google-artifactregistry-authA keyring backend that authenticates to Google…
permissive · top 5,000 on PyPI
django-storagesdjango-storages provides pluggable storage…
permissive · top 5,000 on PyPI
artifacts-keyringProvides automatic credential retrieval for…
permissive · top 5,000 on PyPI
SecretStorageProvides Python bindings to the FreeDesktop.org…
permissive · top 1,000 on PyPI
keyrings.codeartifactProvides AWS CodeArtifact authentication for…
unclear · top 5,000 on PyPI