Operate a control plane’s organisations
A control plane with several organisations (tenants), such as
app.fistron.io, has a platform operator: a person who creates the
organisations, installs their licences and sets up their first admin in
the identity provider. The operator reads nothing of an organisation but
its name, its licence and whether its organisation exists in the identity
provider, and holds no role in it
(ADR 0075).
Every change is in the audit trail of the operator’s organisation and of
the organisation it changes.
An installation for one organisation (on-premises, singleTenant) has no
operator: its organisation is made once with the CLI
(install-on-premises.md).
Who the operator is
An operator is a person who:
- belongs to the operator’s organisation, the one the control plane names
in
FISTRON_CP_OPERATOR_TENANT(the chart’scontrolPlane.operator.tenant); - is in the operator group of the identity provider, by default
fistron-operators(FISTRON_CP_OPERATOR_GROUP); - signed in interactively with the identity provider. An API token, the bootstrap admin and an access grant are never an operator.
To check that you are one:
- Sign out and sign in again: the groups are read at the sign-in.
- The navigation shows Operator. Open it: the page Tenants lists
every organisation, yours marked
operators. - Or read
/api/v1/sessionin the signed-in browser: it says"operator": true.
Without the operator’s tenant setting the page and its API do not exist.
Without the identity provider’s admin API (FISTRON_CP_KEYCLOAK_ADMIN_URL)
the page creates organisations and licences, but not their identity: you
then make it in the identity provider’s console and map the admin group
with the CLI (below). How the control plane is set up for an operator:
the control plane’s docs/operator.md.
Before you start
- The organisation’s licence, a
.pasetofile signed offline with Fistron’s release key (fistron-licence issueof the core: itsdocs/licence.md). A licence is not a secret, but it is the customer’s: keep it with the customer’s record. - The plan’s name from the customer: Pilot, Team, Business or Enterprise; Startup Pilot is a Team licence of the programme Fistron for Startups. Individual has no control plane: it is installed on the person’s machine.
- The first admin’s work e-mail, and their first and last name.
- A slug for the organisation: lower-case letters, digits and
-, at most 63 characters, for exampleexample. It is also the organisation’s alias in the identity provider and its short name in links. It cannot be changed later.
Create an organisation
- Open Operator. Under New tenant, the steps are Tenant and licence, Identity and First admin.
- Enter the Slug and the Name (the organisation’s name as people
read it, for example
Example Org). - Under Licence, choose the file, or paste the licence’s text.
- Click Create the tenant. The licence is verified first: an invalid,
expired or foreign licence is refused and nothing is created. The answer
says
Tenant <slug> createdwith the licence’s tier and id, and notes: for a pilot, the day its documents are deleted. - In the step Identity, enter the First admin’s e-mail, the
First name and Last name, optionally the Admin group
(default
<slug>-admins) and the E-mail domain of the organisation (for exampleexample.com: people with such an address are led to this organisation when they sign in; it is not verified). - Click Set up the identity. In the identity provider the organisation, the admin group and the first admin’s account are made, the account is put in both, and the group is mapped to the role Admin in the organisation. Each step is done only when missing.
- The step First admin says what was made and, for a new account, shows its temporary password once. Copy it now: it is never shown again and is not in the audit trail.
An e-mail that already has an account is added as it is, its password untouched, when it is in no organisation or already in this one. An account of another organisation is refused: a person signs in to one organisation, so use another e-mail.
Hand the organisation over
Send the first admin:
- in one message: the control plane’s address (for example
https://app.fistron.io), their e-mail as the user name, the organisation’s name and slug, and the guide’s pages to start with (Set up your organisation, and Use the hosted control plane with your own agent or Use Fistron in the cloud); - in another channel, never in the same e-mail: what the step First admin showed (a phone call, a text message, a password manager’s one-time share).
At the first sign-in the identity provider asks them to choose their own. A self-service pilot needs none of this: its first admin gets the identity provider’s e-mail and chooses one there.
After the organisation is created
The customer’s first admin, not the operator:
- Signs in and checks the licence on Organisation, then creates the first project and maps the groups to roles (Set up your organisation).
- Creates a registration token on Agents and registers the agent: their own (Install and register an agent), or, in the cloud way, gives the token to Fistron through the agreed channel and Fistron starts the agent (Use Fistron in the cloud).
Check that the organisation works
- Tenants shows it with its licence, the date in Until, and
organisationunder Identity. - The first admin signed in and changed the temporary password.
- Organisation shows the plan, the licensee and the expiry the customer bought, and What the plan includes the expected features.
- A project exists, and the groups the customer uses are mapped.
- Its agent is listed on Agents as
answers. - A small work in the project succeeded, for example
history-collect, without a warning about the licence or the access.
The operator cannot see the last four (it reads nothing of the organisation): the customer’s admin confirms them.
Change an organisation’s licence
- Open Operator and click Manage in the organisation’s row.
- Under Licence, choose the new licence’s file or paste it.
- Click Install the licence. It replaces the one installed at once.
- Read the notes the answer gives (below), then click Close.
The organisation’s agents need nothing: the control plane hands each work the organisation’s licence, and the core checks it again where the work runs. Licensed work is queued only when the licence covers it.
| Case | What to issue and what happens |
|---|---|
| Renewal | The same plan with a new id and expiry, installed before the old one ends. The control plane warns 30 and 7 days before the end and when it has ended: in the organisation’s audit trail (tenant.licence.expiring), its overview and the control plane’s log; the metric fistron_control_plane_licence_days_left counts down per organisation. |
| Another plan or more committers | A licence of the new plan (or with the add-ons certification, migration), effective with the next work. |
| More projects than the licence covers | The note says so. The projects stay with their documents; licensed work runs only in the first projects up to the limit (by creation), and no new project is created beyond it. |
| An expired licence | No new project and no licensed work until a new licence is installed. |
| A pilot becomes paid | Install the paid licence: the pilot’s end no longer applies and its documents stay. |
| A longer pilot | Install a new pilot licence with the later expiry: the documents are kept until then. |
| A pilot in place of a paid licence | Refused unless you check the box under the licence that a pilot replaces the paid licence: the pilot’s end deletes the organisation’s documents. |
| No licence | Click Remove the licence: no licensed work, no limit on projects. A pilot’s date for deleting the documents stays. |
A pilot (a licence of the tier free) keeps the organisation’s documents
only until it ends: the next run of the retention job (every night)
deletes them all. The organisation, its people and its projects stay; a
licence installed later starts with no documents. To keep the documents
longer without a new licence, use the CLI’s tenant trial (below).
What organisations ask for
When a customer’s admin clicks Ask for it beside a feature on
Organisation, the ask is an audit event of the operator’s
organisation, and the self-service pilots asked for on the website are
recorded with the organisation made, why not, or that the request waits on
its e-mail (awaiting; unconfirmed in three days, expired). No page shows them yet:
read them in the signed-in browser, at /api/v1/operator/asks and
/api/v1/operator/trials (newest first).
End an organisation
The control plane cannot delete an organisation today: no command and no page removes it, its projects, its people’s mappings or its audit trail. What can be done:
- Stop its work: remove the licence (Manage, Remove the licence). Licensed work stops; work of open Fistron and sign-in still go on.
- Its agents: the customer’s admin revokes them on Agents; an agent Fistron runs for the customer is stopped and removed on its host. The operator cannot revoke an organisation’s agents.
- Signing in: disable or remove the organisation’s members, or the organisation itself, in the identity provider’s console. The wizard never deletes anything there.
- Its documents: before anything is deleted, the customer’s admin
downloads what it keeps (each project’s documents, the usage as JSON
Lines). Then
tenant trial <slug> --until <day>makes the retention job delete every document of the organisation after that day; it cannot be undone.
The organisation’s row, projects, settings and audit trail stay.
The same with the CLI
fistron-control-plane runs as the schema’s owner
(FISTRON_CP_MIGRATIONS_DATABASE_URL), in a pod of its own that you
delete afterwards, as in
install-on-premises.md.
It needs no operator and no identity provider. A licence, a role mapping
and a pilot’s day it sets are audited in the organisation as
system:operator; creating the organisation has no event of its own.
# a new organisation with its licence, verified before anything is made
fistron-control-plane tenant create example --name "Example Org" --licence example.paseto
# its admin group, when the identity is made in the identity provider's console
fistron-control-plane tenant role-mapping example --group example-admins --role admin
# another licence; --yes to put a pilot in a paid licence's place
fistron-control-plane tenant licence example --file example-2027.paseto
# no licence
fistron-control-plane tenant licence example --remove
# keep a pilot's documents until a day (UTC), or always (the organisation stays)
fistron-control-plane tenant trial example --until 2026-12-31
fistron-control-plane tenant trial example --end
# what the retention job would delete now
fistron-control-plane retention run --dry-run
# every organisation's usage as JSON Lines
fistron-control-plane usage export --since 2026-11-01
Through kubectl exec, give the licence on standard input:
kubectl -n <namespace> exec -i fistron-admin -- fistron-control-plane tenant licence example --file /dev/stdin < example.paseto.
tenant create prints the new organisation’s id; tenant licence
prints the licence installed (tenant example: paid licence ... of Example Org, until ...) and its notes. A refusal exits 2 with the reason.
Troubleshooting
| You see | Cause and fix |
|---|---|
| “the licence is not valid: signed with a key this core does not trust (k4.pid….)” | The licence was signed with another key: the development key (a release’s control plane trusts only the release key), or a key of another installation. Issue it again with the release key. |
| “the licence is not valid: invalid licence: exp” | It has expired: issue a new one. |
| “the core (fistron-core) with licence checks is not installed” | The control plane runs without the closed core: use its released image. |
| “tenant example exists already” | The slug is taken: choose another, or Manage the existing organisation. |
| “slug …: lower-case letters, digits and -, at most 63” | Use lower-case letters, digits and - only. |
| “has a paid licence: a pilot in its place deletes …” | Check the box under the licence, or --yes on the CLI, only if the pilot is meant. |
| “Keycloak’s admin API is not configured” | The control plane has no admin client: make the organisation, group and account in the identity provider’s console, then tenant role-mapping. |
A warning above Tenants: “The identity provider: …”, and unknown under Identity |
The admin API answered with an error: its client’s secret, its roles or the network policy towards the identity provider. The organisations are still listed. |
| The identity step fails half-way | Nothing made is undone: fix the cause, then Manage the organisation and click Set up the identity again; only what is missing is made. |
| “… belongs to organisation …: a person signs in to one organisation” | The first admin’s e-mail has an account of another organisation: use another e-mail, or remove the membership in the identity provider’s console. |
| “… is a person of the operator tenant” | An operator cannot be another organisation’s admin: use another e-mail. |
| “group … is the operators’ or the operator tenant’s” | Choose another admin group. |
| The first admin lost the temporary password | The wizard never changes an existing account’s password: set a temporary one in the identity provider’s console, or another admin of the organisation clicks New password on People. |
| The first admin signs in but has no role | The group’s mapping is missing or the groups changed after the sign-in: Set up the identity again (it maps the group) and sign out and in. |
| Operator is missing from the navigation | You are not in the operator group or not of the operator’s organisation, or you signed in before joining the group: sign out and in. |
For the page’s API and settings, see the control plane’s
docs/operator.md; for the views, ui.md.