CortexDB Docs
Docs for CortexDB 0.14.0, the version running on CortexDB Cloud (api.cortexdb.ai).
Enterprise

Deployment Presets

How dev_local, on_prem_enterprise, cloud_shared_saas, and cloud_private presets shape a CortexDB deployment's posture.

CortexDB selects a deployment posture via the CORTEX_DEPLOYMENT_PRESET environment variable.

Presets

PresetIntended for
dev_localLocal development and evaluation. The default.
on_prem_enterpriseSelf-hosted, single-organization deployments.
cloud_shared_saasMulti-tenant shared cloud deployments.
cloud_privateDedicated single-tenant cloud deployments.

These four values are the complete set. (Older documentation referenced startup / growth / enterprise names — those are not valid preset values.)

What the preset changes

The preset primarily shapes authentication posture:

  • Auth is on by default. A server with no CORTEX_API_KEY on a network-exposed bind auto-generates a key and requires it; run unauthenticated for local dev only with CORTEX_INSECURE_NO_AUTH=1 (serves requests without a token as user:local or the named X-Cortex-Actor; it does not restrict the bind, so publish the port on loopback only). Set CORTEX_API_KEY=<secret> to require bearer auth — the key's value itself becomes the credential. An X-Cortex-Actor header with no bearer is rejected on every preset (see Authorization).
  • The in-binary dev minter (POST /v1/auth/signup, POST /v1/auth/tokens) is off by default — both return 503 NOT_CONFIGURED unless CORTEX_V1_MINTER_ENABLE=1 is set explicitly.
  • Production deployments usually let their identity provider issue tokens, trusted through the issuers file (CORTEX_AUTH_ISSUERS_FILE, 0.14.0; see Identity and Tokens). The in-binary minter's keys are kept in the data directory, so its tokens survive a restart.
  • Which scope types a new scope may use. cloud_shared_saas (also the hosted cloud) allows 15; on_prem_enterprise and cloud_private add global and system; dev_local also adds debug and temp. See Allowed scope types.
  • What the operator key may read (0.14.0). Unless CORTEX_OPERATOR_DATA_READS says otherwise, the static key's operator mode is deny on cloud_shared_saas with auth on, and allow on on_prem_enterprise, cloud_private and dev_local. Under deny its reads of stored memories and its in-band actions need a break-glass header. See Operator Modes and Break-Glass.
  • How long audit rows are kept (0.14.0). Where a deployment names its preset in CORTEX_DEPLOYMENT_PRESET (or sets CORTEX_AUDIT_RETENTION), a daily sweep deletes audit rows older than the preset's audit.retention: dev_local P7D, on_prem_enterprise P1Y, cloud_shared_saas P2Y, cloud_private P3Y. A deployment that sets neither keeps its whole trail; CORTEX_AUDIT_RETENTION_ENFORCE=off only counts what the sweep would delete.
  • Not the forget default, which is the same on every preset: a /v1/forget that names no cascade runs derived_only, which keeps the memories themselves.

Activation model for enterprise controls

Individual enterprise controls (encryption, SIEM, DSAR, residency, and so on) are enabled by their own configuration sections — security.* and compliance.*. A control is active only when its own config enables it; the preset does not turn them on. See Security & Compliance for the per-field walkthrough.

Running a multi-tenant SaaS?

The cloud_shared_saas preset is the multi-tenant posture — one deployment, many isolated tenants. See Multi-Tenancy for how tenants map to token audiences, the isolation guarantees, and how to provision them.

On this page