One line. That's it.
Add Aqta with one line. No refactoring.
1
Generate your Aqta API key
2
Add one line
OpenAI-compatible · No SDK
import openaiclient = openai.OpenAI(api_key="aqta_placeholder",base_url="https://api.aqta.ai/v1",default_headers={"X-Aqta-Key": "aqta_live_abc123..."})response = client.chat.completions.create(model="gpt-4",messages=[{"role": "user", "content": "Hello!"}])
Use aqta_placeholder as the API key; Aqta fetches real keys from the vault.
Test it
First request shows in the dashboard
3
Provider keys (optional)
Store keys in Aqta's vault or pass at runtime
Two options
1Pass at runtime
Provider key in Authorisation header
Authorization: Bearer sk-proj-...2Vault (recommended)
Add keys once, use aqta_placeholder
Encrypted · Rotatable
Add Your API Keys
Connect your LLM provider accounts to start using Aqta
Why store keys in Aqta's vault?
- • No secrets in code: Use
aqta_placeholderinstead of real API keys - • AES-256 encryption: Keys encrypted at rest, never logged
- • Zero-knowledge proxy: We never see your LLM responses or prompts
- • Rotate anytime: Update keys without changing code
What you get
Loop protection
Infinite loops caught in <1s
Compliance
GDPR & EU AI Act trails
Analytics
Cost & performance in real time