🛡️
Oakai Security Sovereign Vault
GitHub
v1.0.0 Release: 1-Click BYOC Micro-KMS for Startups & Regulated Clouds

The Single-Binary Micro-KMS & Universal OIDC Secret Broker.

Engineered in pure Rust. Built for homelab self-hosters with autonomous zero-config TLS 1.3, zero external databases, and zero-file process injection. Hardened for enterprise BYOC with tokenless OIDC workload identity, real-time SIEM streaming, and Prometheus fleet metrics.

🏡 Homelab: 15 MB RAM • Zero DB • Autonomous TLS 1.3 🏢 Enterprise: Tokenless OIDC • SIEM Webhooks • Prometheus
docker run -d --ulimit memlock=67108864:67108864 -p 127.0.0.1:8443:8443 -v vault-data:/data ghcr.io/oakai-security/sovereign-vault:v1.0.0 Quickstart →
⚡ 15ms Cold Start • 🔒 Native TLS 1.3 • 🛡️ mlock() RAM Lock • 🤖 AI Agent Ready
sovereign-vault ~ 1. TLS 1.3 Cold Start (15ms)
$docker compose up -d sovereign-vault
[+] Container sovereign-vault Started (14.2ms)
2026-10-26T12:00:00Z INFO sovereign_vault: Process address space pinned via mlockall(MCL_CURRENT | MCL_FUTURE).
2026-10-26T12:00:00Z INFO sovereign_vault: Generating autonomous zero-config self-signed ECDSA TLS certificate...
2026-10-26T12:00:00Z INFO sovereign_vault: TLS 1.3 ACTIVE: Encrypted in transit by default (NIC-to-NIC wire encryption)
2026-10-26T12:00:00Z INFO sovereign_vault: Certificate SHA-256 Fingerprint: 3c:a9:81:72:f4:d0:9e:1b...
2026-10-26T12:00:00Z INFO sovereign_vault: Sovereign Vault v1.0.0 listening on https://127.0.0.1:8443 (Native Rustls TLS 1.3)

Core Pillars

Why developers replace bloated vault stacks with Sovereign Vault

⚡

Sub-Millisecond Engine & 15 MB RAM (Pure Rust)

Compiled to a single 8.8 MB static binary (< 32 MB container image). Zero garbage collection pauses, microsecond response times, and uses less than 15 MB of RAM under load.

🚫

Zero Accounts & Zero External Databases

No mandatory Postgres, Redis, or multi-tenant signup forms. Runs autonomously with full-page encrypted SQLCipher (`HMAC-SHA512`) storage and an HKDF-SHA512 wrapped DEK envelope.

🧠

Memory-Safe Enclave

Uses mlock() to legally forbid the OS kernel from paging secrets to unencrypted swap disks. Memory buffers are wiped on drop via hardware zeroize.

🌐

Universal OIDC Workload Federation

Eliminate static tokens in CI/CD. Authenticate GitHub Actions, Kubernetes pods, GitLab CI, and Dex/Authelia using short-lived JWTs (RS256, ES256, EdDSA) verified by pure-Rust ring.

🔒

Native TLS 1.3 & Anti-Hijack Guard

Autonomous zero-config ECDSA P-256 certificate generation encrypts wire traffic from the first millisecond. Single-use bootstrap nonces and constant-time token matching block port-scanning attacks.

🤖

Zero-.env Injection & AI Agent Native

Inject secrets into child processes directly via sovereign-vault run without ever writing a plaintext file. Full MCP agent tool support for Claude, Cursor, and Copilot.

Head-to-Head

How Sovereign Vault compares to other tools

Capability Sovereign Vault v1.0 HashiCorp Vault Infisical Plain .env in Git
Binary / Image Size 8.8 MB / 31.7 MB 280 MB+ 300 MB+ (3 containers) 0 MB
RAM Utilization < 15 MB 500 MB – 1.5 GB 400 MB+ 0 MB
Wire Security (In-Transit) ✅ Native TLS 1.3 (Auto PKI) Requires manual certs Requires reverse proxy ❌ N/A
Workload Authentication ✅ Dual-Mode (OIDC + Tokens) ✅ Vault Agent / JWT ✅ Universal Auth ❌ Static hardcoded
Database Dependencies None (SQLCipher SQLite) Consul / Raft PostgreSQL + Redis None
Swap Page Protection ✅ mlock() Pinned ✅ Enabled ❌ No (Node/Go GC) ❌ Plaintext on Disk
Tamper-Evident Audit ✅ HMAC-SHA512 + SIEM ✅ Audit Device ✅ Audit Logs ❌ Zero auditing
💸 THE MICROSERVICE KMS PRICING TRAP

Why 200 Microservices Cost $78,840/Month on AWS KMS

Cloud providers charge $0.03 per 10,000 KMS requests. When hundreds of microservices query KMS directly for database credentials and API keys, the bill explodes. Sovereign Vault serves billions of queries directly from fast in-VPC RAM with zero per-query fees.

Per-Query Meter Trap ⚠️

Raw AWS / GCP KMS

$79,056 / mo

At 10,000 queries/second (200 services at 50 req/s), you execute 26.3 billion KMS API calls monthly. Plus, external HTTPS calls add 15ms latency and risk HTTP 429 quota throttling.

Annual Run Rate: $948,672 / year
Enterprise Stack Tax 🏛️

HashiCorp Vault Ent.

$15,000+ / mo TCO

$25k to $60k/year in software licenses, 3 to 5 multi-node compute clusters with Consul storage, plus a dedicated SRE to perform Raft quorum repairs and unseal rituals.

3-Year TCO: Over $600,000
In-VPC Micro-KMS 🛡️

Sovereign Vault BYOC

$0.00 / mo

Calls Cloud KMS exactly once at cold boot to unwrap the DEK into mlock() RAM. All 26 billion microservice queries served in <1ms with zero KMS per-query fees on 100% Free Tier compute.

Annual Savings: $948,000+ saved
⚡ 1-CLICK TERRAFORM DROP-IN

Deploy Into Your Private Cloud in 3 Minutes

Keep your secrets and unseal keys inside your own security perimeter. Our production Terraform module configures an isolated private VPC with zero public IPs, automated Cloud KMS envelope auto-unseal, and standard disk storage that qualifies 100% for Google Cloud's Always Free Tier.

  • ✓ Zero Public IP Addresses: Ingress strictly via Cloud IAP or WireGuard
  • ✓ Cloud KMS Auto-Unseal: Automated recovery with zero human unseal ceremonies
  • ✓ Enterprise Identity: Native integration with Active Directory, Okta & OIDC
  • ✓ Zero Vendor Access: Oakai Security possesses zero keys, routes, or tokens
Read 1-Click BYOC Setup Guide →
terraform-google-sovereign-vault/main.tf Free Tier Eligible
module "sovereign_vault" {
  source = "github.com/oakai-security/terraform-google-sovereign-vault"

  project_id   = "your-company-prod"
  region       = "us-central1"
  vault_name   = "acme-vault"

  # 100% Free Tier (pd-standard + e2-micro)
  machine_type = "e2-micro"
  disk_type    = "pd-standard"
  disk_size_gb = 30
  subnet_cidr  = "10.10.0.0/24"
}
$ terraform apply
Apply complete! Resources: 17 added. Monthly compute cost: $0.00.
🏢 OAKAI SECURITY CLOUD (BYOC)

Multi-Cluster Fleet Governance, SSO & Cloud KMS Auto-Unseal

The core Sovereign Vault engine is 100% free and Apache 2.0 open-source forever. Join the early-access waitlist for Oakai Security Cloud: our zero-knowledge BYOC control plane where secrets and unseal keys never leave your private VPC.

  • ✓ Local VPC Auto-Unseal (AWS KMS, GCP KMS, Azure KV, TPM 2.0)
  • ✓ Ed25519 Admin Policy Signing & Instant Global Token Revocation
  • ✓ Okta / OIDC SSO, SOC 2 / HIPAA Audit Exports & Litestream S3 DR

Join the Enterprise BYOC Waitlist

Reserve design-partner pricing and early access to the v1.0 Fleet Control Plane.

Ready to eliminate .env credential leaks?

Spin up the single-binary container on Docker in 15 seconds. Wire-encrypted with TLS 1.3 by default.