VaultEdge — zero-trust AI key manager SDK for Python
Project description
VaultEdge Python SDK 🔐
Zero-Trust AI API Key Manager & Routing Engine for Python. Decrypt credentials securely at runtime and implement automatic fallback routing between 15+ AI providers.
🚀 Key Features
- Zero-Trust Security: Raw API keys are never stored on server databases in plaintext. They are encrypted client-side using
AES-256-GCMand only decrypted in-memory at runtime. - Smart Routing & Failover: Configure automatic fallbacks so that if a primary provider (e.g. OpenAI) is down or rate-limited, the SDK transparently routes requests to secondary providers (e.g. Gemini, Anthropic).
- OpenAI API Compatibility: Works seamlessly with your existing AI workflows.
📦 Installation
Install VaultEdge using pip:
pip install vaultedge
Make sure your system has cryptography and httpx installed (automatically handled by pip):
pip install cryptography httpx
🛠️ Quick Start
Export your encrypted vault blob and password to environment variables:
export VAULTEDGE_VAULT="VE_VAULT_v1_<your_encrypted_payload>"
export VAULTEDGE_PASSWORD="your-master-password"
Initialize VaultEdge in Python and execute a request:
import asyncio
import os
from vaultedge import VaultEdge
# Initialize with environment variables or constructor arguments
ve = VaultEdge(
vault=os.environ["VAULTEDGE_VAULT"],
password=os.environ["VAULTEDGE_PASSWORD"],
)
async def main():
# Execute a chat completion (automatic routing & decryption)
response = await ve.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello, VaultEdge!"}],
)
print(response["choices"][0]["message"]["content"])
asyncio.run(main())
🔒 Security Architecture
VaultEdge uses standard, high-performance cryptography primitives:
- PBKDF2-HMAC-SHA256: Converts your master password into a strong 256-bit encryption key with
210,000iterations. - AES-256-GCM: Secure authenticated encryption for the vault payload.
🔗 Resources
- GitHub Repository: github.com/imdurgadas/vaultedge
- License: MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vaultedge-1.0.10.tar.gz.
File metadata
- Download URL: vaultedge-1.0.10.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0448af6ea4f62d2caeb7b012685400d5066ad7aadd6ac20e1ac62dd07723c11
|
|
| MD5 |
74704da8ede39508d7ef07789eb4aa7d
|
|
| BLAKE2b-256 |
913c0736b182f1d2d8c3937e4079d4d5b7950a2616ce3f3525dd373d8a473b0c
|
Provenance
The following attestation bundles were made for vaultedge-1.0.10.tar.gz:
Publisher:
ci-cd.yml on imdurgadas/vaultedge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vaultedge-1.0.10.tar.gz -
Subject digest:
e0448af6ea4f62d2caeb7b012685400d5066ad7aadd6ac20e1ac62dd07723c11 - Sigstore transparency entry: 1996541420
- Sigstore integration time:
-
Permalink:
imdurgadas/vaultedge@c2e36482793e9df16efe74c9d5dfb296522525c0 -
Branch / Tag:
refs/tags/v1.0.10 - Owner: https://github.com/imdurgadas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@c2e36482793e9df16efe74c9d5dfb296522525c0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file vaultedge-1.0.10-py3-none-any.whl.
File metadata
- Download URL: vaultedge-1.0.10-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebd1e41e3d3d2fdaf09d4527cb5991b695872278d0359c730c01773465f5ad5f
|
|
| MD5 |
f47f3b97204fccc9d85c2d519fb06c23
|
|
| BLAKE2b-256 |
e20fc1c48661f5e67bc5d68d996364b83a5e4b2fd3070b95adaac87dbdd0f98e
|
Provenance
The following attestation bundles were made for vaultedge-1.0.10-py3-none-any.whl:
Publisher:
ci-cd.yml on imdurgadas/vaultedge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vaultedge-1.0.10-py3-none-any.whl -
Subject digest:
ebd1e41e3d3d2fdaf09d4527cb5991b695872278d0359c730c01773465f5ad5f - Sigstore transparency entry: 1996541489
- Sigstore integration time:
-
Permalink:
imdurgadas/vaultedge@c2e36482793e9df16efe74c9d5dfb296522525c0 -
Branch / Tag:
refs/tags/v1.0.10 - Owner: https://github.com/imdurgadas
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@c2e36482793e9df16efe74c9d5dfb296522525c0 -
Trigger Event:
push
-
Statement type: