KeyCrypt is a secure, provider-driven cryptography platform for building encryption workflows, key management services, policy-aware data protection, and pluggable storage integrations.
KeyCrypt combines a Python SDK, CLI, orchestration layer, and provider interfaces into one extensible platform. It is designed for teams that need a single cryptographic control plane across local apps, services, and cloud workloads.
- Pluggable crypto, key, and storage provider interfaces
- High-level Python SDK and
keycryptCLI - Policy-driven orchestration and configuration
- Cloud, AI, and observability extras for optional installs
- REST, gRPC, and adapter-friendly integration surfaces
- Package metadata and public exports for stable imports
from src import KeyCrypt
from pathlib import Path
sdk = KeyCrypt.configure("keycrypt.yaml")
artifact = sdk.encrypt(Path("example.txt"))
print(artifact.encrypted_path)pip install keycryptdocker build -t keycrypt .
docker run --rm -it keycrypt keycrypt --helpgit clone https://github.com/Brahamanbtp/KeyCrypt-Shield-X.git
cd KeyCrypt-Shield-X
pip install -e .from src import KeyCryptClient
with KeyCryptClient() as client:
encrypted = client.encrypt_file("report.pdf")from src import PolicyEngine
from pathlib import Path
engine = PolicyEngine()
policy = engine.load_policy(Path("policy.yaml"))keycrypt encrypt --input report.pdf --output report.pdf.kcx
keycrypt decrypt --input report.pdf.kcx.json --output report.restored.pdfflowchart TD
U[User / App] --> S[Python SDK / CLI]
S --> O[Orchestration & Policy Engine]
O --> C[Crypto Providers]
O --> K[Key Providers]
O --> T[Storage Providers]
C --> D[(Encrypted Data)]
K --> M[(Key Material)]
T --> A[(Object / File Storage)]
See CONTRIBUTING.md for local development and contribution guidance.
Licensed under the MIT License.
- The KeyCrypt Team for the core platform design
- The open-source cryptography and Python ecosystem
- Contributors, testers, and early adopters who shaped the project