Security

The Zero Trust layer for AI tool use

api0 sits between the chat your team uses and your applications. Every action runs as the person asking, with their own rights, and is logged. The AI model never sees a credential.

Last updated: November 27, 2026 · This page also lists what api0 does not do yet.

Every tool call takes the same path

Zero Trust is an architecture, not a product. api0 applies it to one place: the moment an AI client calls one of your applications. Your identity provider, network and device controls stay yours.

  1. 1

    Identify the caller

    Before any tool runs, the gateway knows which person is calling and for which tenant. No anonymous calls.

  2. 2

    Scope to the tenant

    The caller sees only their own tenant’s tools. Tenants are separated in the database with row-level security.

  3. 3

    Attach the credential

    The gateway picks the tool’s connection and adds its credential to the call. The AI model never receives it.

  4. 4

    Log the call

    Who called, which tool, when, and the result status are recorded for the tenant’s owners.

Who is calling: identity on every call

There is no way to call a tool without being identified. How the gateway knows who you are depends on where you call from:

Calling fromHow the caller is identified
Claude and other MCP clientsOAuth 2.1 with PKCE. Authorization codes work once.
People in the dashboardGoogle sign-in, or your company’s identity provider such as Microsoft Entra ID.
Teams, WhatsApp and TelegramEach person links their chat account to their api0 account once. Unlinked accounts get no tools.
Servers and scriptsAPI keys. api0 stores a hash that can check a key, not the key itself.

Details: inbound authentication guide.

What your application receives

Each tool has a connection that decides which credential the gateway adds to the call. You choose it per application:

CredentialBest forWhat the target sees
Identity token signed by api0Your own applicationsA short-lived token naming your tenant as audience. Nothing to store: your application checks the audience and the signer.
Each person’s own credentialSystems with per-user rights, such as Azure DevOps or Microsoft GraphThe person’s personal secret, or their OAuth sign-in renewed by api0. The target system sees the real person and applies their rights.
Service credentialThird-party APIs with one keyA bearer token, custom headers, or OAuth client credentials. The target sees one service identity.

Details: outbound authentication guide.

Secrets never reach the AI

  • Credentials are encrypted with AES-256-GCM before they are stored, each sealed to its tenant and purpose.
  • They are decrypted only for the call that needs them, and never placed in the model’s context.
  • Once saved, a credential is never sent back to the dashboard. It can be replaced, not read.
  • Without its encryption key configured, api0 refuses to save a credential rather than store one it cannot protect.
  • All traffic to api0 is encrypted in transit (HTTPS).

Least privilege, inherited from your systems

  • The person’s own rights. With per-person credentials, the AI can do exactly what that person can already do in the target system, and nothing more.
  • No borrowing. A person who has not connected their own credential gets an explanation of how to do it, never a call made as somebody else.
  • Administrator accounts refused. api0 will not act through a Microsoft account that holds directory administrator roles. A chat assistant should not carry a skeleton key.
  • No reaching inside. Tool addresses are checked when they are resolved, so a tool cannot be pointed at api0’s own servers or the hosting provider’s internal addresses.

Every call, attributed

For each tool call, api0 records who made it (email and API key), the tool, the time, the response status and duration, request and response sizes, and the caller’s IP address. It does not store the content of the arguments or the results. Tenant owners see these logs in the dashboard; they are kept until the tenant is deleted.

A security check of your own applications

Owners and admins can run a check from the dashboard. It reviews the tenant’s configuration and calls one read-only address per connected application, with no credential, to see whether it is on valid HTTPS and whether it turns away a caller who is not signed in.

What api0 does not do yet

We would rather you read these here than find them in a review.

Service credentials are shared by design

When a third-party API offers only one key, every call reaches it with that one identity. api0 still records which person made each call, but the target cannot tell. Use per-person credentials wherever the target supports them.

api0 does not stop prompt injection

A manipulated model can still do whatever the person it acts for is allowed to do. With per-person credentials, that is limited to one person’s rights, and every call is logged.

No device or session posture checks

The caller’s identity is checked on every call. Device compliance and conditional access stay with your identity provider.

No outside pen-test or certification yet

api0 has no SOC 2 or ISO 27001 certification and has not had an external penetration test. Your security team is welcome to review the architecture and test api0 during a pilot.

Call logs stay in the dashboard

Tenant owners see every call in the api0 dashboard. Export to your own SIEM is on the roadmap, without a date yet.

Not hosted in Switzerland yet

api0 is built in Switzerland, but its servers are not there yet, and several providers process data outside Switzerland and the EEA. Ask us for the current hosting region; the privacy policy lists the providers.

Review it, or report a problem

Planning a pilot? Bring your security team to the kick-off: we walk through this page against your setup. Found a vulnerability? Write to us.

Mayorana · Saint-Prex, Switzerland

contact@mayorana.ch

Personal data, providers and retention: privacy policy.