KoalaVault Key Provider for CryptoTensors - Secure key management for encrypted model deployment with vLLM
Project description
cryptotensors-koalavault-vllm
KoalaVault Key Provider for CryptoTensors - A secure key management provider for encrypted model deployment with vLLM.
Note: This package is distributed as pre-compiled binaries. The Rust source code is proprietary and not publicly available.
Overview
cryptotensors-koalavault-vllm is a Key Provider implementation for the CryptoTensors library, specifically designed for secure model deployment with vLLM. It provides:
- Secure Key Management: Automatic key retrieval from KoalaVault servers
- Attestation Support: Framework integrity verification for secure deployments
- vLLM Integration: Seamless integration with vLLM for encrypted model serving
- Native Performance: Rust-based implementation with Python bindings
- Binary Distribution: Pre-compiled native libraries for easy installation
Installation
From PyPI
pip install cryptotensors-koalavault-vllm
The package includes pre-compiled binaries for common platforms. No compilation or Rust toolchain is required.
Quick Start
Basic Usage
import cryptotensors
# Initialize the KoalaVault provider
cryptotensors.init_key_provider(
"koalavault-vllm",
api_key="your-api-key",
model_owner="model-owner",
model_name="model-name",
model_path="/path/to/model"
)
# Now you can use cryptotensors to load encrypted models
from cryptotensors import safe_open
with safe_open("model.safetensors", framework="pt") as f:
tensor = f.get_tensor("layer.weight")
With vLLM
The provider is typically initialized automatically when using the KoalaVault vLLM container:
docker run --rm \
-e KOALAVAULT_API_KEY=your-api-key \
-v /path/to/models:/models \
koalavault/vllm:latest \
--koalavault-api-key your-api-key \
--koalavault-model owner/model-name \
--model /models/model-name
Architecture
This package implements the KeyProvider trait from the CryptoTensors core library. When initialized, it:
- Authenticates with the KoalaVault server using the provided API key
- Performs Attestation to verify the framework integrity
- Retrieves Keys for decrypting the encrypted model tensors
- Manages Keys securely in memory without exposing them to Python
API Reference
Python API
cryptotensors.init_key_provider(name, **config)
Initialize and activate a key provider.
Parameters:
name(str): Provider name, must be"koalavault-vllm"api_key(str): KoalaVault API keymodel_owner(str): Model owner identifiermodel_name(str): Model name identifiermodel_path(str): Path to the model directory
Example:
cryptotensors.init_key_provider(
"koalavault-vllm",
api_key="sk-...",
model_owner="my-org",
model_name="my-model",
model_path="/models/my-model"
)
Rust API
The Rust crate provides the KoalaVaultProvider struct that implements the KeyProvider trait. The crate is distributed as a binary library (cdylib) and can be used via FFI:
use cryptotensors::{KeyProvider, CryptoTensorsError};
// Provider is created via FFI function exported from the binary
// extern "C" fn cryptotensors_create_provider() -> *mut dyn KeyProvider
Note: The Rust source code for this provider is proprietary. Only pre-compiled binary libraries are distributed via crates.io.
Security Features
- Signature Verification: All provider libraries are cryptographically signed and verified before loading
- Key Isolation: Cryptographic keys never pass through the Python interpreter
- Attestation: Framework integrity is verified before key retrieval
- Secure Storage: Keys are stored in memory with automatic cleanup
Requirements
- Python >= 3.9
cryptotensorscore library (>= 0.2.0)
Distribution
This package is distributed as pre-compiled binary wheels for:
- Linux (x86_64, aarch64)
- macOS (x86_64, arm64)
- Windows (x86_64)
The Rust source code is proprietary and not available for public inspection or modification. Only the compiled binary libraries are distributed via PyPI and crates.io.
License
This package is distributed under a proprietary license. The binary libraries are provided for use with the CryptoTensors ecosystem. See the package metadata for specific license terms.
Links
Support
For issues and questions, please contact KoalaVault support or refer to the official documentation.
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 Distributions
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 cryptotensors_koalavault_vllm-0.1.0.tar.gz.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0.tar.gz
- Upload date:
- Size: 125.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
488a3c019076f9c8a33db52e3c52ca1867d72790db47d2daa10a057269d20c1d
|
|
| MD5 |
2dfd5486d8f624167c2110bdfb2a0be3
|
|
| BLAKE2b-256 |
cdf2231819dfabc3fd429926bfb6e5c29a6bfe36ff9bf1d90fc0af7c284bdbd8
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0.tar.gz:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0.tar.gz -
Subject digest:
488a3c019076f9c8a33db52e3c52ca1867d72790db47d2daa10a057269d20c1d - Sigstore transparency entry: 908230556
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adb19137ccaddfebd971b0e4c3d43cca30de2e1bb5252ebbdc16f9076701f8e7
|
|
| MD5 |
ef3ac540e2e85f60537f530380b0faff
|
|
| BLAKE2b-256 |
54642468ca5bdf594f9f5acb25233ec80fd912ae08ce0301af2f06052c363006
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl -
Subject digest:
adb19137ccaddfebd971b0e4c3d43cca30de2e1bb5252ebbdc16f9076701f8e7 - Sigstore transparency entry: 908230581
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
943aa23603abd33d5712ee81238d1f20757a51befa029cfd313a27ea7d31d836
|
|
| MD5 |
f9664e55372522a492957d63664067c3
|
|
| BLAKE2b-256 |
f0f6a149a9843910cb10385233b9f79c21f87415bbb9f532bf3400864485399d
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl -
Subject digest:
943aa23603abd33d5712ee81238d1f20757a51befa029cfd313a27ea7d31d836 - Sigstore transparency entry: 908230571
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
- Upload date:
- Size: 2.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12c794e10dbf944de23b210773ee9817a35251e25d26afd1080005f486df369
|
|
| MD5 |
2f3b4a12dfe5965977e4ae39252fec41
|
|
| BLAKE2b-256 |
cc04db935080ceda8c7a322121a1e0697288198ad3eb2267eebc8ee585f64859
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl -
Subject digest:
d12c794e10dbf944de23b210773ee9817a35251e25d26afd1080005f486df369 - Sigstore transparency entry: 908230598
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f39b0344bde55cb87793b7324e6b4ad87e0f01762b77de41a842b9b3d6b50f
|
|
| MD5 |
5c87e03e8fc31864b92affa6d7636c85
|
|
| BLAKE2b-256 |
492535fcb1b6f073e479e34c3d3b728f8d0630eea0a361d67a977fb13bd45fca
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl -
Subject digest:
91f39b0344bde55cb87793b7324e6b4ad87e0f01762b77de41a842b9b3d6b50f - Sigstore transparency entry: 908230589
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fa408921d6d8325b6f82c88d9668ee264a2639733e87164a2a6d0591091bca7
|
|
| MD5 |
b3d739cd7fa2d98e4f1203fc7d7618ca
|
|
| BLAKE2b-256 |
31a64f70eaf539af4d9ad9eb02086146cc944df829e4142d1a285f68270e909f
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
8fa408921d6d8325b6f82c88d9668ee264a2639733e87164a2a6d0591091bca7 - Sigstore transparency entry: 908230594
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.5 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c08569242b3f85a70e04abec8bde439e906f35f8e6ace9e3c0e118b5ce7123ca
|
|
| MD5 |
cab454b442486075b623ca34606c404f
|
|
| BLAKE2b-256 |
03eff5e67c10eccc239b2ec3fb707c07e18185df7b13476ddd166e0dd339ebda
|
Provenance
The following attestation bundles were made for cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl:
Publisher:
llm-client-release.yml on KoalaVault-ai/koalavault-vllm-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cryptotensors_koalavault_vllm-0.1.0-cp311-cp311-macosx_10_12_x86_64.whl -
Subject digest:
c08569242b3f85a70e04abec8bde439e906f35f8e6ace9e3c0e118b5ce7123ca - Sigstore transparency entry: 908230608
- Sigstore integration time:
-
Permalink:
KoalaVault-ai/koalavault-vllm-client@81c96613ec616d66adf96adaf60bc541a5dda406 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/KoalaVault-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
llm-client-release.yml@81c96613ec616d66adf96adaf60bc541a5dda406 -
Trigger Event:
push
-
Statement type: