Multi-tenant security

Secure multi-tenant AI with Kimss

Isolate customer and team workloads with workspace boundaries, scoped keys, and PostgreSQL tenant separation—built for products on the Kimss control plane.

Last updated: July 23, 2026

Multi-tenancy is a data and identity problem

Kimss isolates tenants in PostgreSQL with workspace-scoped agents, files, keys, and ledgers—so one customer’s prompts and embeddings do not appear in another’s queries.

Sharing a single provider project or API key across customers without a control plane invites cross-tenant leakage. Kimss encodes tenant boundaries in authentication, ORM scoping, and API design so developers do not rely on convention alone.

Defense in depth on Azure

Kimss runs on Azure with private networking patterns appropriate to production; customers still apply Azure Policy, Key Vault, and Monitor in their subscriptions.

Security architecture combines Kimss workspace isolation with your landing zone controls. Optional APIM can add gateway logging when verified. Kimss does not invent compliance certifications—document what your deployment actually implements.

Secrets and key hygiene

Workspace API keys rotate through admin flows; Provider credentials stay server-side in Kimss routing—not copied into every developer laptop or CI job.

Service accounts should use least-privilege workspace keys. Human access uses Entra SSO with MFA via your tenant policies. MCP and SDK setups must store KIMSS_API_KEY outside repositories.

Operational response

When incidents occur, workspace-scoped attribution and billing ledgers identify affected tenants; keys rotate per workspace without global outages for unrelated customers.

Run tabletop exercises on key compromise and allowance exhaustion. Pair Kimss controls with enterprise support via /enterprise for contractual response expectations.

Frequently asked questions

Does Kimss host each customer in a separate database?

Kimss uses multi-tenant PostgreSQL with strict workspace scoping; enterprise deployments can discuss isolation requirements via /enterprise.

Can tenants share models but not data?

Yes. Provider endpoints can be shared while Kimss workspace boundaries separate agents, files, and usage.

Where are vectors and files stored?

Workspace-scoped storage backs agent knowledge; exact Azure services are described in /docs/architecture for your deployment.

Is encryption available in transit?

APIs are served over HTTPS; align with your Azure networking requirements for private connectivity.

How do we validate isolation?

Use separate test workspaces, attempt cross-workspace access with wrong keys in staging, and review architecture docs before production launch.