Skip to main content
Applies to:
Cockpit v2Layered architectureMulti-tenant

Cockpit v2 is built on a layered, domain-driven design with defense in depth: clients reach a secure edge, requests pass through an authentication-and-authorization pipeline, domain services carry the business logic, and key material is held in a protected custody layer. The diagram below shows the shape of the platform.

Layer stack

Cockpit v2 architecture

Cockpit v2 architectureCockpit v2 as stacked layers: clients and protocols, the secure edge, the API and policy layer, domain services, then data and audit beside key custody, with tenancy, authorization, audit, editions and FIPS cutting across.REQUESTL1Clients & protocolsMicrosoft 365 DKE · ACME/EST/SCEP/CMP · KMIP · REST/SDKL2Secure edgeTLS termination · rate limiting · headers · CORSL3API & policy layerauth · tenant · entitlements · audit · RBAC+ABACL4Domain serviceskeys · vaults · PKI · DKE · PQC · KMIP · apps · policiesL5Data & auditencrypted store · cache · audit chainL6Key custodysoftware · MPC · HSM · cloud KMSCROSS-CUTTINGMulti-tenancysigned identityRBAC + ABACuser · IP · geo · timeAudittamper-evident chainEditionsentitlementsFIPSvalidated algorithms

Requests flow down through the secure edge and the API and policy layer to the domain services, which rely on the data and key-custody layers; tenancy, authorization, audit, editions and FIPS cut across every layer.

How it is organized​

Responsibilities are separated into clear layers, and dependencies flow downward only — the API and application layer depends on the domain, and the domain is independent of how it is delivered or stored.

Secure edge

TLS termination, rate limiting, security headers and CORS protect the platform before any request is processed.

API & policy layer

Every request is authenticated, bound to its tenant, checked against the tenant's entitlements, permission-checked and validated before a handler runs.

Domain services

Keys, vaults, PKI, DKE, post-quantum, KMIP, applications and access policies — the business logic, kept independent of delivery and storage.

Data & key custody

An encrypted store with a tamper-evident audit trail, and key material held in software, MPC or HSM custody behind one uniform interface.

Request flow​

Every request travels the same path: it is authenticated (session token or passkey), resolved to its tenant, checked against the tenant's edition entitlements, and audited — then the handler performs a permission check and validates the request before delegating to a domain service. The service reads or writes the encrypted store and, when cryptography is involved, calls the key-custody layer. Private keys never leave their vault or HSM.

One custody interface

Domain services talk to a single, uniform custody interface, so the same code works whether a key lives in a software vault, an MPC key-management service or a Securosys HSM. See Vaults & HSM.

Multi-tenancy​

Cockpit v2 is multi-tenant by construction. Every record belongs to exactly one tenant, the tenant is derived from the caller's signed identity (never supplied by the client), and isolation is enforced automatically for every query rather than left to individual features. Within a tenant, organizational units provide a second layer of scoping for teams and departments, and editions gate which capabilities are available.

Performance figures are indicative

Any throughput, latency or capacity number quoted for Cockpit v2 is an indicative target, not a guaranteed figure. Validate against your own environment before relying on it for capacity planning.

Pipeline

Cockpit v2 request pipeline

Cockpit v2 request pipelineEvery request passes the secure edge, authentication, tenant resolution, the entitlement check and audit before the handler checks permissions, validates and calls a domain service.MIDDLEWARE · EVERY REQUESTSecure edgerate limit · CORSAuthenticatetoken · passkeyTenantfrom tokenEntitlementsedition gateAuditfail-closedHandlerRBAC · validateDomain servicebusiness logic

Every request is secured at the edge, authenticated, bound to its tenant, checked against entitlements and audited before the handler runs a permission check and validation.