Platform Sovereign AI For GPU Operators Hosted AI (waitlist)
Compare
vs OpenAI vs Claude vs Gemini vs Hugging Face vs Private Cloud GPU
Solutions
Law firms Clinics Accountants Government Media
Resources
Docs Security whitepaper Architecture Compliance mapping Model benchmarks Hardware matrix ISED Canada Roadmap Pricing About Contact Contact us →
⚖ AI Sovereign Inference OS
Your AI. Your hardware. Your rules.
Docs

Authentication

SovrinOS uses a layered authentication model. On a local network, no authentication is required. For production deployments and multi-tenant setups, API keys and WireGuard VPN are recommended.

API Key (optional)
  • Set SOVRIN_API_KEY=your-secret-key in /etc/sovrin/node.env. Once set, all API requests must include Authorization: Bearer your-secret-key.
  • Generate a secure key: openssl rand -hex 32
  • Restart the inference service after setting: sudo systemctl restart sovrin-inference
# /etc/sovrin/node.env
SOVRIN_API_KEY=a1b2c3d4e5f6...
SOVRIN_PORT=3000
SOVRIN_LOG_LEVEL=info
WireGuard VPN (recommended for remote access)
  • SovrinOS uses an outbound-only WireGuard tunnel to the Fleet Manager. Zero inbound ports are required on your firewall.
  • The Gateway Pi establishes the tunnel on boot — no manual configuration needed.
  • For custom WireGuard peers, edit /etc/wireguard/wg0.conf and run wg-quick up wg0.
# Verify WireGuard status
sudo wg show
# → interface: wg0
#   public key: ...
#   listening port: 51820
#   peer: wg.sovrinOS.com
#   latest handshake: X seconds ago
Multi-tenant isolation
  • Each tenant gets a separate inference process with its own CUDA context. One tenant's prompts are never accessible to another.
  • Tenant API keys are set in the Fleet Manager dashboard under Settings → Tenants.
  • Per-tenant rate limiting and token quotas are configurable from the dashboard.
# Per-tenant key example in node.env
SOVRIN_TENANT_acme_KEY=key-for-acme
SOVRIN_TENANT_acme_QUOTA_TPM=100000
SOVRIN_TENANT_legal_KEY=key-for-legal
SOVRIN_TENANT_legal_QUOTA_TPM=50000