Security & Compliance
Application controls for your data, credentials, and LLM traffic, with deployment guidance for Ingate Cloud and self-hosted installations.
Vulnerability reporting
For a self-hosted deployment, contact the organization that operates it. For a managed deployment, use the security contact provided by your hosting operator, if available. Confirm the recipient and agree on a secure channel before sharing details.
A public Ingate vulnerability intake channel has yet to be verified. If you have no confirmed contact for the affected service, keep the report private until you can verify a secure reporting channel.
Prepare a sanitized summary with the suspected impact, affected Ingate version and component, and any relevant UTC timestamps and request IDs. Keep API keys, session tokens, customer data, raw prompts and responses, and unredacted logs out of the report.
Infrastructure Security
Ingate supports cloud and self-hosted deployments. The application provides organization-scoped access controls and credential protection. Transport security, storage encryption, patching, monitoring, and recovery must be configured and validated for the deployment, with responsibilities agreed with your hosting operator.
| Layer | Protection |
|---|---|
| Network | Configure HTTPS at Ingate or a trusted reverse proxy, plus secure connections to databases and upstream services |
| Storage | Database, volume, and backup encryption are configured by the deployment operator |
| Database | Logical organization isolation in a shared PostgreSQL deployment; separate storage requires explicit configuration |
| Database-stored provider keys | AES-256-GCM encryption at rest; decrypted within the application for provider use |
| Uptime | Availability targets and support commitments require a separate hosting or service agreement |
The application middleware sets these response headers. HSTS is added when Ingate handles TLS directly; configure it at your TLS-terminating proxy when applicable:
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()Cloud or self-hosted
Authentication
Ingate uses two authentication methods: API keys for machine-to-machine access and session tokens for the dashboard.
API Key Authentication
Authenticated proxy requests use the X-Ingate-Key header. Protected management APIs also accept a dashboard session token. Keys are header-only: they are never accepted in query parameters, preventing accidental exposure in server logs, browser history, or referrer headers.
curl https://api.ingateai.com/v1/chat/completions \
-H "X-Ingate-Provider: openai" \
-H "X-Ingate-Key: sk-ingate-your-key" \
-H "Content-Type: application/json" \
-d '{"model": "gpt-4o-mini", "messages": [{"role": "user", "content": "Hello"}]}'Keys are stored as SHA-256 hashes. Raw key values are never persisted, never logged, and never included in error responses. Only a truncated hash prefix is used for log correlation.
Dashboard Authentication
Dashboard login uses email and password. Passwords are hashed with bcrypt before storage. Session tokens are signed with HMAC-SHA256 and are short-lived.
# Login (returns session token)
curl -X POST https://api.ingateai.com/api/v1/login \
-H "Content-Type: application/json" \
-d '{"email": "dev@acme.com", "password": "your-password"}'Brute Force Protection
Login and signup endpoints are rate limited to 10 attempts per 15 minutes per IP. Exceeding the limit returns 429 Too Many Requests with a Retry-After header.
{
"error": "rate limit exceeded",
"error_code": "rate_limited",
"retry_after_seconds": 900
}Authorization (RBAC)
Routes protected by role-based access control are deny-by-default. Missing organization context or insufficient roles deny access. For authenticated management, enable server.admin_auth and configure authentication; public signup, login, setup, health, and UI asset routes have separate access rules.
| Role | Level | Capabilities |
|---|---|---|
viewer | 0 | Read-only access to logs, metrics, evals, usage |
member | 1 | Viewer + proxy access, create prompts/evals/keys |
admin | 2 | Member + manage teams, budgets, webhooks, org settings |
owner | 3 | Highest role in the authorization hierarchy |
Roles follow a linear hierarchy: higher roles inherit all permissions of lower roles. Organization context and scoped data access provide logical tenant isolation for private resources such as logs, keys, and provider configuration. This does not provision a PostgreSQL instance per organization; explicitly published shared resources, such as public skills, follow their own access rules.
Deny by default
401 Unauthorized. RBAC rejects missing organization context or insufficient permissions with 403 Forbidden. Configure and verify the authentication mode before exposing a deployment.Provider Key Security
Database-stored organization provider keys use AES-256-GCM authenticated encryption at rest and are omitted from management API responses. The application decrypts them when loading or using provider configuration, including startup, updates, connectivity checks, and request resolution. YAML and environment credentials are operator-managed: protect configuration, process access, and the encryption key separately from database backups.
| Feature | Details |
|---|---|
| Encryption at rest | AES-256-GCM with random nonces for database-stored organization provider keys |
| Injection | Provider credentials supplied for upstream authentication in API-key mode |
| Client isolation | API-key mode keeps stored provider credentials out of application clients; passthrough clients supply their own credentials |
| Header stripping | X-Ingate-Key is stripped before forwarding upstream |
| Auth passthrough | For subscription-based tools, client credentials pass through directly |
| Zero-downtime rotation | Rotate provider keys in the dashboard. No client changes required |
# Rotate a provider key. Existing clients are unaffected
curl -X PUT https://api.ingateai.com/api/v1/providers/openai \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"api_key": "sk-new-openai-key..."}'PII Redaction
Enterprise feature
Automatically redact sensitive data from request and response logs before persistence. Three redaction modes are supported:
| Mode | Behavior | Use case |
|---|---|---|
pattern | Regex match replaced with [REDACTED] | Partial redaction. Preserves log structure |
hash | Entire field replaced with [REDACTED] | Full-field replacement in the processed log |
drop | Field set to null (not stored) | Field omitted from the processed log; review capture and storage paths separately |
Default patterns detect and redact these data types out of the box:
- Email addresses: standard RFC 5322 patterns
- Social Security Numbers: XXX-XX-XXXX format
- Credit card numbers: Visa, Mastercard, Amex, Discover
- Phone numbers: US and international formats
Data Retention
Automatic retention is disabled by default. When an operator enables it, the startup and hourly worker removes eligible records in bounded batches. The source defaults below describe cleanup eligibility, not a deletion deadline or a substitute for your organization's retention policy and service agreement.
| Record class | Enabled-worker rule | Important limit |
|---|---|---|
| Free-plan logs | Older than 7 days | Requires the worker to be enabled; holds and unsupported bindings are preserved |
| Enterprise logs | Configured log period; default 30 days | Eligible records may remain after a bounded or interrupted sweep |
| Native evaluation results | Configured evaluation period; default 90 days | Deleting an older linked log can remove a result earlier |
| Completed native evaluation runs | Configured evaluation period; default 90 days | Removing a run can unlink surviving results |
| Externally submitted log verdicts and details | Outside these automatic retention stages | Can remain organization-scoped after the source log is deleted |
| Failed runs, held organizations, unsupported tenant bindings | Preserved by this worker | An age setting does not authorize deletion of these records |
Receipt and ledger originals, accounting counters, budget history and immutable archives remain outside these deletion classes. Log and evaluation periods are not independent preservation promises because of linked records. Durable organization holds fence worker deletions; releasing one hold does not release another active case. Deleting a log does not establish erasure of externally submitted verdict details; see the Eval Results API.
A sweep can make partial progress: earlier transactions may have committed before a later failure. A bounded success does not prove every expired row was removed. After a failure or uncertain result, inspect authorized database evidence and worker status before retrying; an uncertain result is not proof that nothing changed. Use read-only inspection first, retain any existing hold/case identifiers for safe retries, and have an authorized operator decide whether to continue. No completion SLA follows.
Export scope and external copies
Supported telemetry and audit evidence exports contain selected record classes and bounded organization/time scopes; this is not all-data export or a complete account backup. Inspect the selected scope, omissions and result before relying on an export. Trace exports send selected captured activity to configured destinations on a best-effort basis; configuration is not proof of delivery. A retention sweep does not delete backups, exported files, external sinks or an entire account, and does not prove physical disk or WAL erasure.
Review retention configuration before enabling cleanup and assign owners for external copies and any separately agreed obligations.
Rate Limiting
Multiple layers of rate limiting protect against abuse, runaway costs, and denial-of-service:
| Layer | Limit | Purpose |
|---|---|---|
| Per-key request rate | Configurable per org | Cost control and fair usage |
| Auth endpoints (login/signup) | 10 req / 15 min / IP | Brute force protection |
| Response capture | 10 MB max per response | DoS protection on log storage |
When a rate limit is exceeded, the response includes standard headers for client backoff:
HTTP/1.1 429 Too Many Requests
Retry-After: 60
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 0Compliance
Ingate provides controls that can support your security requirements. Local software acceptance does not establish SOC 2 certification or audit readiness. Assess compliance against the actual deployment, operating procedures, and applicable agreements.
| Area | Status |
|---|---|
| Compliance assessment | Review deployment-specific evidence with your security team and hosting operator |
| SSRF protection | Outbound URLs (webhooks, eval callbacks) validated against allowlists; private IP ranges blocked |
| Data Processing Agreement | Agree data-processing terms with the relevant service operator |
| Custom data residency | Select and verify the locations of databases, backups, and upstream providers for your deployment |
| SSO (SAML / OIDC) | Coming soon |
Security questionnaire
Security Summary
A quick reference separating application controls from deployment responsibilities:
| Control | Implementation |
|---|---|
| Encryption in transit | Configure and verify TLS for each network connection |
| Encryption at rest | AES-256-GCM for database-stored provider keys; configuration, database and backup protection are deployment-specific |
| API key storage | SHA-256 hashed, never logged |
| Password storage | bcrypt hashed |
| Session tokens | HMAC-SHA256 signed |
| Auth model | Deny-by-default on RBAC-protected routes; logical organization isolation |
| Security headers | X-Frame-Options, nosniff, referrer policy; HSTS when Ingate handles TLS |
| Brute force protection | 10 req / 15 min / IP on auth endpoints |
| Response size limit | 10 MB capture bound (DoS protection) |
| SSRF protection | Outbound URL validation, private IP blocking |
| PII redaction | Pattern, hash, and drop modes (Enterprise) |
| Data retention | Automatic cleanup disabled by default; enabled-worker periods, holds and record-class limits described above |