Quickstart Guide

Integrate Zero Knowledge database enclaves in Python using our lightweight secure request protocol. Follow these steps to initialize connection credentials and execute blind queries:

python
import aansc

# Initialize connection client to isolated database
client = aansc.VaultClient(
    endpoint="https://api.vault.aansc.org",
    tenant_key="0x8f6c38a1..."
)

# Insert encrypted record blinded to the host
response = client.blind_insert(
    column="patient_records",
    payload={"pulse": 78, "systolic": 120}
)

print(response.status) # Returns: "isolated"