Skip to main content

SecureCredentials

SecureCredentials is a lightweight Python package designed to securely store key-value pairs, such as passwords or other sensitive information, on disk. By leveraging modern AES-GCM 256-bit encryption and a dual encryption scheme, the package ensures that your sensitive data and encryption keys remain safe, while still providing convenient access for everyday use.

Why SecureCredentials Was Created

This package was created to address two common challenges faced by developers:

  1. Avoid storing sensitive credentials in plaintext: It is unsafe for developers to store credentials such as database passwords, Active Directory passwords, and API keys in plaintext within their scripts or configuration files.
  2. Eliminate the need to repeatedly enter passwords: Developers often have to enter their credentials every time they run a script, which can be cumbersome and error-prone. SecureCredentials allows for automatic retrieval of encrypted credentials, eliminating the need to type them each time.

Key Features

  • Dual Encryption Scheme: Your actual credentials are encrypted with a strong master key, and that master key is itself encrypted using a deterministic AES-GCM 256-bit key derived from your local system environment—ensuring multi-layered protection.
  • AES-256 Encryption (GCM mode): Uses modern AES-GCM encryption with a 256-bit key for both speed and strong cryptographic security.
  • Local Security: All keys and encrypted data are stored locally, ensuring that no sensitive data leaves your system.
  • Convenience: Automates secure access to stored credentials, removing the need to retype passwords or store them in plaintext.
  • Cross-Platform: Works seamlessly across different operating systems, including Windows, Linux and macOS.

Installation

To install SecureCredentials, run:

pip install securecredentials

Dependencies

SecureCredentials requires the following Python libraries:

  • cryptography: For encryption and decryption.

Release Notes

For detailed version history, see the CHANGELOG.md file.

License

SecureCredentials is licensed under the Apache License Version 2.0. See the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request for improvements or feature requests.

Support

If you encounter issues or have questions, please open an issue in the GitHub repository.

Full Documentation:

Full documentation and usage examples are available in the GitHub repository

Release files for securecredentials 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for securecredentials 2.1.0
File Size Uploaded
securecredentials-2.1.0.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for securecredentials 2.1.0
File Interpreter ABI Platform
securecredentials-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / securecredentials-2.1.0.tar.gz

Download URL securecredentials-2.1.0.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d54cf261703c875064803a516c53f77c763d5548c171d19fdba4569e15654343
BLAKE2b-256 checksum
How to use checksums
b18791776d0fe9059ad0a22128096db60f14755057a1e6e2cf8f80164b7576c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release files / securecredentials-2.1.0-py3-none-any.whl

Download URL securecredentials-2.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07356f5daf89cbf5a175e27d449e7884b224db03418433fd0d5f65476ad7b6b3
BLAKE2b-256 checksum
How to use checksums
ba1c082cb12f3308e7ef1de99337536a8276f591e260971a06df6acb3d605f66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

2.0

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page