installation
The installation channel: mutual TLS with the client certificate of an installation of hubs that the vendor runs, on the hub link's listener; it reads the desired state of the hubs placed on the installation, enrols them and reports their state and usage, and nothing else (docs/operations.md ยง4)
enrolInstallation
The only call of the installation channel without a client certificate; authenticated by the installation's enrolment token, which it spends. The certificate is issued by the cloud's hub CA for the CSR's key, which must be ECDSA P-256, with `installation:<id>` as its subject's common name, valid 1 year; it replaces any earlier one. It authenticates the installation on this channel only, never as a hub on the hub link (docs/operations.md ยง4).
renewInstallationCertificate
A new certificate for the CSR's key, as enrolInstallation issues it, 30 days before the current one ends. The certificate the call came with stays valid until the installation first calls with the new one, so a renewal whose answer was lost is repeated with it.
pollInstallation
The hubs placed on the installation whose desired state changed after the cursor `after`, in the order of their change, each once with its whole current state (InstallationHub), never a difference: applying a state again changes nothing. The installation polls every 30 s and after each answer of `limit` hubs at once, and keeps the answer's `cursor` for the next poll; a cursor of 0 lists every hub it is to run or delete. Suspending, resuming and deleting a tenant reach its hubs here (docs/architecture.md ยง12).
enrolInstallationHub
Enrols a hub placed on the installation and not to be deleted, as enrolHub does with a token: the hub's link certificate for the CSR's key, with the hub's id as its subject's common name, and the hub's Watch key; it replaces any earlier certificate, ends a revocation, renews the link epoch and replaces the Watch key. The installation enrols every hub whose state says `enrolled: false`. Audited in the tenant's audit as `hub.enrol` by the installation.
reportHubState
The installation reports a hub placed on it as `provisioned`, `failed` with a reason, which the tenant's admins and the vendor's operators see (Hub `provisioning_error`), or `deleted`, which it reports only of a hub to be deleted, after its data is gone, and which ends its record of the hub. A change between provisioned and failed is audited in the tenant's audit as `hub.provisioning`.
reportUsage
The usage of the installation's hubs on one UTC day, today or one of the 35 days before, sent once a day after midnight UTC and repeated until it is taken; a repeat of a day replaces it. Each hub is one the installation is to run or delete: the usage of a hub's last day is reported before its deletion. Read by the vendor's billing (listUsage).