Aeion AI Security Architecture
Where provider credentials live, what gets logged, and how tenants stay isolated. A credential-locality model that gives your own auditors a clear answer to "where do the AI provider keys live?"
Security Controls Inventory
Encryption at rest
AES-256-GCM, with a dedicated encryption key scoped to the AI layer, for provider API keys
Encryption in transit
HTTPS to provider endpoints
Audit log standard
Full prompt + response in `ai_usage_logs`; per-call timestamp + cost + tenant + user
Retention
Retained indefinitely today (no automated purge yet) — same for every tenant, no tier gating
Multi-tenant isolation
Per-tenant provider config; cross-tenant queries impossible at the platform layer
PII handling
Configurable redaction in audit log — exclude PII fields before logging, available to every tenant
Prompt injection defense
Pluggable filter hooks before each provider call
Provider choice
Each tenant chooses which AI providers its prompts are sent to, including a self-hosted Ollama endpoint
Credential Locality — The Big Differentiator
Where your provider API keys live is the single biggest compliance question for an AI gateway.
What Gets Audited — Per-Call Granularity
Every AI call (LLM, image, voice, embedding, anything) lands in ai_usage_logs with full context.
Per-Tenant Isolation
Every provider config is tenant-scoped. The platform's tenant resolution applies to AI calls the same way it applies to every other request.
Evidence for Your Own Audit
Controls in this architecture you can point to when your auditor asks about AI usage.
Prompt Injection Defense
Prompt injection is the #1 application-layer risk for AI deployments. Aeion provides three layers:
What this page is NOT.
This is the architecture, not a certificate. Aeion holds no certifications or attestations today; SOC 2 Type II is on our roadmap. The table above shows which controls the architecture provides; your auditor still needs evidence that your specific tenant configuration is running them correctly.
AI infrastructure with credential locality.
Your keys, your prompts, your audit log — never on a third-party gateway.