Skip to content

Commit 8d3afa4

Browse files
docs(deploy): Enterprise licensing and multi-organization pages (#442)
Two Enterprise-only pages under Deploy, written from objectstack-ai/cloud main: licensing (obtaining, online vs air-gap, the boot banner, renewal, subscription vs perpetual lapse, Enterprise Single-Node vs Enterprise) and multi-organization (postures, the licence gate and its refusal, run shapes, the walled-posture decisions, Community image, Cloud for small scale). Claude-Session: https://claude.ai/code/session_012dn2AdARJtc4RgABPH7PHk Co-authored-by: Claude <noreply@anthropic.com>
1 parent c0e1801 commit 8d3afa4

3 files changed

Lines changed: 446 additions & 1 deletion

File tree

‎content/docs/deploy/licensing.mdx‎

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
---
2+
title: Licensing
3+
seoTitle: "Enterprise Licensing: Obtain, Validate, Renew"
4+
description: How an ObjectOS Enterprise license is issued, validated online or air-gapped, reported in the boot banner and renewed, what Enterprise Single-Node and Enterprise each unlock, and what happens when a license ends.
5+
editions: [enterprise]
6+
---
7+
8+
An ObjectOS Enterprise deployment runs the licensed Enterprise image with
9+
a license in `OS_LICENSE_KEY`. The license decides what the image unlocks.
10+
This page covers how you get one, the two ways it is validated, how to read
11+
what the runtime decided, how to renew, and what a license that ends
12+
switches off. Contract options are on
13+
[License & Pricing](/docs/editions/license).
14+
15+
## Obtaining a license
16+
17+
Licenses are issued by ObjectStack under contract:
18+
[contact sales](mailto:sales@objectos.ai). There is no self-serve
19+
checkout. Your license mail contains:
20+
21+
1. **The image digest** of your release. Install by digest, because a tag
22+
can be moved and a digest cannot ([why](/docs/deploy/docker#pin-the-image-by-digest)).
23+
2. **A registry pull token** with package read access. You do not need it
24+
when you install from an offline bundle.
25+
3. **The license**: one line of text, signed by ObjectStack. The runtime
26+
verifies the signature at boot against a public key built into the
27+
image, so a license with any byte changed is refused as invalid.
28+
4. **The deploy bundle**, with the Compose stack, the environment templates
29+
and the scripts for your release.
30+
31+
Store the license as a secret, the same way you store `OS_AUTH_SECRET`
32+
([Production Readiness](/docs/operate/production)). Three things are fixed
33+
when the license is issued, and none of them is a setting you can change:
34+
35+
- its **edition**: Enterprise Single-Node or Enterprise;
36+
- its **mode**: online or air-gap ([below](#online-or-air-gap));
37+
- its **kind**: a subscription with an end date, or a perpetual license
38+
with a maintenance end date ([below](#when-a-license-ends)).
39+
40+
## Enterprise Single-Node and Enterprise
41+
42+
Enterprise Single-Node (formerly Business Self-Managed) is the single-node
43+
entry option of ObjectOS Enterprise. Its license carries a fixed set of
44+
features; everything else on the list below needs an Enterprise license.
45+
46+
| | **Enterprise Single-Node** | **Enterprise** |
47+
|---|---|---|
48+
| Nodes | One (`maxNodes: 1`) | Several, up to the count your license carries (`maxNodes`) |
49+
| AI seats | Up to 25 | Set by your contract (`maxAiSeats`) |
50+
| License mode | Online only | Online or air-gap |
51+
| In-product AI | ✓ | ✓ |
52+
| AI governance | ✓ | ✓ |
53+
| Hierarchy security | — | ✓ |
54+
| Several organizations on one deployment | — | ✓ |
55+
| SCIM 2.0 provisioning, on by default | — | ✓ |
56+
| Customer-managed keys for secrets | — | ✓ |
57+
| When the license ends | Paid features switch off | Paid features switch off; a perpetual license keeps the versions released during maintenance |
58+
59+
What each row means, and where it stops:
60+
61+
- **In-product AI.** The "ask" agent is the included, supported agent. The
62+
AI Builder ships as a **preview** that is not part of the contract, and
63+
the boot banner labels it so. An administrator assigns AI seats to users;
64+
the license sets how many. You bring your own model and key.
65+
- **AI governance.** An audit trail of every AI tool call (who asked the AI
66+
what, and what it touched), permission checks on each answer so the AI
67+
cannot become a way around record permissions, masking of sensitive
68+
fields in the data the AI's tools fetch, and visible quota refusals.
69+
Conversation history a user pastes in is not re-masked.
70+
- **Several nodes.** The license unlocks a multi-node topology up to its
71+
node count; it is not a high-availability product. The deploy bundle runs
72+
one node today, and the runtime refuses more than one replica until a
73+
cluster driver is configured. Multi-node is set up with us under your
74+
contract. Without a license, the runtime runs one replica, and a
75+
deployment that declares more refuses to start.
76+
- **Hierarchy security.** Record visibility relative to the business-unit
77+
tree: the unit, unit-and-below and own-and-reports read scopes
78+
([Hierarchy Visibility](/docs/configure/permissions/hierarchy-visibility)).
79+
- **Several organizations.** The per-organization isolation wall on one
80+
database. See [Multi-organization](/docs/deploy/multi-organization).
81+
- **Customer-managed keys.** Secret fields, datasource credentials and
82+
encrypted settings are sealed under your own AWS KMS, Azure Key Vault or
83+
HashiCorp Vault (transit) key, by envelope encryption: each value gets a
84+
fresh data key, wrapped by your key, and your key never leaves your KMS.
85+
Revoking the key makes those secrets unreadable at once. A KMS that is
86+
configured but cannot be reached, or is not licensed, **refuses the
87+
boot**; the runtime never falls back to the local key. Business fields,
88+
metadata, attachments and audit logs are not encrypted by this feature;
89+
at rest they rely on your disk or database encryption. It applies to the
90+
single-environment and composed shapes and is refused on the
91+
artifact-pinned shape. Choose it at installation: secrets written before
92+
you enable it are not migrated, and turning it off makes the secrets it
93+
sealed unreadable. Customer-managed keys ship in Enterprise releases
94+
newer than 4.3.1.
95+
96+
## Online or air-gap
97+
98+
A license's mode says how it is validated. Both modes verify the signature
99+
and the end date locally first.
100+
101+
| | **Online** (the default) | **Air-gap** |
102+
|---|---|---|
103+
| Validation | At boot, then at the control plane: the license is exchanged for a 72-hour entitlement, refreshed every 24 hours | Locally only, against the key in the image. No network traffic. |
104+
| `OS_CLOUD_URL` | Your control plane, with the deployment's cloud binding completed | `off` |
105+
| When the control plane cannot be reached | The deployment stays licensed for **7 days** from the last successful validation, then runs as Community until validation succeeds again | Does not apply |
106+
| Available for | Enterprise Single-Node and Enterprise | Enterprise only |
107+
108+
Two combinations are decided for you at startup:
109+
110+
- An online license with `OS_CLOUD_URL=off` can never be validated, so the
111+
runtime **refuses to start**, naming both settings:
112+
`✖ FATAL: this deployment has an ONLINE-mode OS_LICENSE_KEY but no control plane to validate it against`.
113+
Ask for an air-gap license for a disconnected site.
114+
- The composed shape, where several organizations share one database behind
115+
a published app, accepts **only** an air-gap license with
116+
`OS_CLOUD_URL=off`.
117+
118+
[Air-gapped Deployment](/docs/deploy/air-gapped) has the full matrix and the
119+
reasons behind it.
120+
121+
On the first boot with an online license, before any entitlement is cached,
122+
the runtime waits up to 10 seconds for the control plane, so the Enterprise
123+
features can mount on that boot. If validation succeeds later than that, the
124+
runtime is validated but was already wired as Community: the log says so,
125+
and the Enterprise features mount on the next restart. Later restarts inside
126+
the grace window are licensed from the cached entitlement without waiting.
127+
128+
## What the boot banner shows
129+
130+
At every boot the runtime prints a banner to its log that states what it
131+
decided. A licensed deployment prints, for example:
132+
133+
```text
134+
────────────────────────────────────────────────────────────────
135+
ObjectOS Enterprise — LICENSED
136+
customer : Example Corp
137+
customerId: cus_0123
138+
org : (none)
139+
licenseId : lic_0456
140+
seats : up to 25 AI seat(s)
141+
nodes : 1
142+
expires : 2027-06-30T00:00:00.000Z
143+
features : aiStudio, governance
144+
in-UI AI : ENABLED (AI Builder + ask)
145+
preview : AI Builder(预览,不在合同范围内); ask is the included, supported agent
146+
mode : ONLINE (validated by the control plane)
147+
validated : 2026-11-07T09:12:44.000Z
148+
ent expiry: 2026-11-10T09:12:44.000Z
149+
refresh : 2026-11-08T09:12:44.000Z
150+
runtimeId : rt_0789
151+
────────────────────────────────────────────────────────────────
152+
```
153+
154+
| Line | What it tells you |
155+
|---|---|
156+
| `seats`, `nodes` | The AI-seat and node counts the license carries; `unlimited` when it carries none |
157+
| `expires` | A subscription's end date; for a perpetual license, `never (perpetual license — see maintenance below)` |
158+
| `features` | The features the license grants: `aiStudio` (in-product AI), `governance`, `clustering`, `hierarchySecurity`, `scim`, `multiOrg`, `customerManagedKeys` |
159+
| `in-UI AI` | Which agents this process actually mounts. When `OS_AI_STUDIO_AGENTS` narrows them, the line names what is withheld and by which variable. |
160+
| `preview` | The AI Builder is a preview, outside the contract (the label is printed in Chinese and reads "preview, not covered by the contract") |
161+
| `mode` … `runtimeId` | Online licenses only: the last successful validation, when the current entitlement expires and when it is refreshed next. An air-gap license prints none of these lines. |
162+
163+
Some states lead the banner, so they are the first thing you read:
164+
165+
- `⚠ GRACE — the control plane has not confirmed this license recently`,
166+
followed by a `degrades` line with the date the grace window ends.
167+
- For a perpetual license, a `license` line names its state:
168+
`PERPETUAL — in maintenance until …`, or
169+
`PERPETUAL — VERSION-LOCKED (maintenance ended …)` with
170+
`updates : none — newer images run as Community; renew maintenance to update`.
171+
`⚠ BUILD STAMP UNUSABLE` means the image cannot prove its release date
172+
([below](#perpetual)).
173+
174+
A deployment without a usable license prints the Community banner instead,
175+
with the reason and the remedy:
176+
177+
```text
178+
────────────────────────────────────────────────────────────────
179+
ObjectOS Community mode — NO valid Enterprise license
180+
reason : no license (OS_LICENSE_KEY unset)
181+
in-UI AI : DISABLED (AI Builder + ask)
182+
data : available via the open MCP server — bring your own AI client
183+
to enable : set OS_LICENSE_KEY to a valid Enterprise license token
184+
────────────────────────────────────────────────────────────────
185+
```
186+
187+
On the artifact-pinned shape (`OS_ARTIFACT_URL`) the image's own
188+
configuration does not run, so there is no banner, and none of what it
189+
reports (AI seats, AI governance, hierarchy security) mounts either.
190+
191+
### Check a license without booting
192+
193+
The deploy bundle's `license-check.sh` runs the image's own verifier in a
194+
container with no network, and sends nothing anywhere. It prints the
195+
customer, edition, term, mode and limits, never the license itself, and
196+
exits 0 only when this image will boot licensed with your `.env`:
197+
198+
```bash
199+
./license-check.sh # the license in .env, against the running image
200+
./license-check.sh --file new.txt # a license you have not stored yet
201+
./license-check.sh --image <new digest> # against the image you are about to upgrade to
202+
```
203+
204+
The edition reads `enterprise`, or `business` for Enterprise Single-Node
205+
(its former name). Thirty days before a subscription ends, the check warns.
206+
207+
## Renewal
208+
209+
A renewal is a new license: a new line of text with a later end date, for
210+
both modes. Install it before the current one ends:
211+
212+
```bash
213+
./license-check.sh --set ./renewal.txt # stores it in .env as OS_LICENSE_KEY and checks it
214+
docker compose up -d # applies it
215+
```
216+
217+
On Kubernetes, update the Secret that holds the license and restart the
218+
pods. A license is deployment-wide: every replica runs the same one
219+
([Kubernetes](/docs/deploy/kubernetes#enterprise-adds)).
220+
221+
For a perpetual license, renewing **maintenance** is what keeps updates
222+
coming: it is a license with a later maintenance end date, needed before you
223+
upgrade to an image released after your current one.
224+
225+
## When a license ends
226+
227+
A license ends in one of two ways, by its kind. Neither stops the runtime
228+
or touches your data, with the three exceptions [below](#three-deployments-refuse-to-start-instead).
229+
230+
### Subscription
231+
232+
Every Enterprise Single-Node license is a subscription, and so is an
233+
Enterprise license unless your contract says perpetual. At its next start
234+
after the end date, the runtime treats the license as absent and runs as
235+
Community:
236+
237+
- the in-product AI and AI governance are off;
238+
- the hierarchy read scopes grant nothing;
239+
- SCIM is no longer on by default;
240+
- your data stays intact, and the open MCP server keeps working, so your
241+
own AI client still reaches it.
242+
243+
A subscription does not version-lock: no image keeps the Enterprise features
244+
after the end date. Installing a renewal license restores them on the next
245+
start.
246+
247+
### Perpetual
248+
249+
A perpetual license is a contract-only option of Enterprise; it is not
250+
offered for Enterprise Single-Node. It has no end date. It has a
251+
**maintenance end date** instead, and keeps the versions released while
252+
maintenance was paid:
253+
254+
- An image released **before** the maintenance end keeps every Enterprise
255+
feature, the in-product AI included, for as long as you run it. After the
256+
maintenance end, the banner and `license-check.sh` say `VERSION-LOCKED`.
257+
- An image released **after** the maintenance end runs as Community. Before
258+
an upgrade, run `./license-check.sh --image <new digest>`: it says whether
259+
that image is covered, and `./upgrade.sh preflight` stops when it is not.
260+
- Updates, patches and support end with maintenance.
261+
262+
The image proves when it was released through its release manifest,
263+
`/etc/objectstack/ee-release.json`. Do not mount anything over that file or
264+
its directory: the runtime then cannot use it, and the license lapses at the
265+
maintenance end like a subscription. An online perpetual license still needs
266+
its control plane after maintenance ends, with the same 7-day grace window;
267+
ask for an air-gap perpetual license if the deployment must not depend on
268+
it. The `VERSION-LOCKED` states in the banner and in `license-check.sh` ship
269+
in Enterprise releases newer than 4.3.1; an older image boots licensed with
270+
a perpetual license.
271+
272+
### Three deployments refuse to start instead
273+
274+
Three configurations need a valid license to exist at all, so a license that
275+
has ended, or is missing, makes them **refuse to start** rather than run as
276+
Community. The data is still intact; a valid license brings them back.
277+
278+
- **Several organizations** (`OS_TENANCY_POSTURE=isolated` or `group`):
279+
isolation between organizations is licensed, and a deployment that asked
280+
for it never serves traffic without it. See
281+
[Multi-organization](/docs/deploy/multi-organization#the-license).
282+
- **Customer-managed keys** (a KMS set in `OS_CRYPTO_PROVIDER`): the runtime
283+
never falls back to the local key, because the secrets were sealed under
284+
yours.
285+
- **Several nodes** (`OS_CLUSTER_REPLICAS` above 1): without a
286+
multi-node license the runtime refuses the declared topology rather than
287+
run replicas that do not coordinate.
288+
289+
Plan renewals for these the way you plan a certificate renewal: the
290+
license check warns 30 days ahead, and the date is in every boot banner.
291+
292+
## Next
293+
294+
- [Multi-organization](/docs/deploy/multi-organization) — the license on a
295+
deployment several organizations share.
296+
- [Air-gapped Deployment](/docs/deploy/air-gapped) — the license mode for
297+
disconnected sites.
298+
- [Docker → Enterprise adds](/docs/deploy/docker#enterprise-adds) — the
299+
registry, verification and upgrade steps the license comes with.

‎content/docs/deploy/meta.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"title": "Deploy",
33
"defaultOpen": false,
4-
"pages": ["index", "docker", "kubernetes", "air-gapped"]
4+
"pages": ["index", "docker", "kubernetes", "air-gapped", "licensing", "multi-organization"]
55
}

0 commit comments

Comments
 (0)