Skip to main content

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-GCM and 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,000 iterations.
  • AES-256-GCM: Secure authenticated encryption for the vault payload.

🔗 Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vaultedge-1.0.5.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vaultedge-1.0.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file vaultedge-1.0.5.tar.gz.

File metadata

  • Download URL: vaultedge-1.0.5.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

Hashes for vaultedge-1.0.5.tar.gz
Algorithm Hash digest
SHA256 211e3cdb2de1f52621ef77cb763ea7baf2e47ef8fe2b6d2ece3a25c924cafb3a
MD5 06fb68986f7c82340b9da84e95226432
BLAKE2b-256 f76ae41a2d8fc3a864f81ecaec91c6fef9c97002ece4d57ef1e8ac7f34fabca4

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultedge-1.0.5.tar.gz:

Publisher: ci-cd.yml on imdurgadas/vaultedge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vaultedge-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: vaultedge-1.0.5-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

Hashes for vaultedge-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a76f91b5152678d40df632b14aa336cd7fd1be61e4a14aa04e3a5df084449a62
MD5 9a6322101b2744f373f0c62092a77797
BLAKE2b-256 f2d8119257c38dfeac4abd5e068db4895f6b254f732d07c40c60da46385bb926

See more details on using hashes here.

Provenance

The following attestation bundles were made for vaultedge-1.0.5-py3-none-any.whl:

Publisher: ci-cd.yml on imdurgadas/vaultedge

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page