Loading the documentation…
The DataMind Installer downloads every DataMind OS image, deployment file and update from a registry,
and it signs in with one of two credentials: this server's DataMind License Key, or the Azure client
secret that comes with a DataMind-issued client_id and client_secret. Both live in
System secrets on the Configuration screen.
This page covers where the credentials come from, how the Installer checks them, how a server that still runs on a company API key moves to its own License Key, and what the Installer downloads.
| What is stored | When it is used | Where the Installer gets its images and files |
|---|---|---|
| A License Key, or a company API key | As soon as it is stored; it wins over the secret | The DataMind Platform gateway, platform. |
| An Azure client secret | Only while no key is stored | Azure: its container registry and file storage |
With a key, the host itself needs no Azure access. Every stack image and tag, the environment
template, the Compose file, the memory slice script and the Installer's own image come from
platform..
System secrets holds both rows:
| Row | What it holds |
|---|---|
PLATFORM_API_KEY | This server's License Key, or a company API key until the Installer exchanges it. The same key DataMind OS uses for AI, maps and its license |
AZURE_CLIENT_SECRET | The Azure client secret, used only when no key is stored |
Each row reads Configured or Not set. Hover the icon beside a value to see the rule:
Secret — value is stored encrypted and never shown. Secrets are stored encrypted in the Installer's
database and are never displayed again.
While no key is stored, a banner across the top of the Installer reads
No DataMind platform key: paste your API key or License Key. For admins it carries
Paste the key, which opens Configuration on
System secrets with the key field selected; during the first setup the setup form asks for the
key instead. The banner goes away as soon as a key is saved.
A stored key is shown only as a short hint you can recognise: the start and the end of the key with
four dots in between, such as dm-lic-8ai5nefy••••3kq9, or only the last four characters, such as
…3kq9, when the key has another format. The full value never leaves the Installer. With no key
stored, the section reads Paste this server's DataMind License Key.
When the DataMind Platform rejects the stored key, the row shows a warning icon with the tooltip
The DataMind Platform rejected the stored key — paste it again. The Azure row shows a warning icon
the same way when Azure rejects the secret.
Only admins change these rows; other accounts see them read-only, masked. See Users.
When no key is stored yet, the Installer looks for one in this order:
PLATFORM_API_KEY in its own . env. It seeds the key on the first start only; changing it later
has no effect. See
What lives on the host.Once a License Key is stored, the Installer writes it into DataMind OS, and an API key never replaces it. When DataMind OS has no API host set yet, the Installer also sets it to the platform it installs from, so DataMind OS checks its license with the same platform. When DataMind OS holds another License Key that the DataMind Platform accepts, for example one entered in Admin > License in DataMind OS, the Installer adopts it. When the two copies differ, the section warns DataMind OS holds a different key.
To replace or recover it:
PLATFORM_API_KEY in System secrets and save. The Installer checks it with
platform. datamind. ai before it stores it, and writes it into DataMind OS.A company API key pasted while a License Key is stored is refused:
This server runs on its License Key, and an API key cannot replace it.
A server installed before License Keys runs on the company API key, and the section notes
This is a company API key. The
exchange needs nothing from you: DataMind prepares an instance for the server, and the next
Update of DataMind OS takes it over during its download phase.
| What the update reports | What it means |
|---|---|
Exchanged the company API key for this server's License Key (instance <name>). | Done. The Installer stores the License Key and writes it into DataMind OS. |
Kept the company API key: DataMind has no free instance for your company yet; ask DataMind to add one (no_unclaimed_instance). | No instance is waiting for this server. The update continues on the API key; ask DataMind. |
Kept the company API key: DataMind could not confirm this server's recent downloads; ask DataMind for this server's License Key (swap_unverified). | DataMind could not match this server to your company. Ask DataMind for the License Key, then paste it into System secrets. |
This server needs its own License Key. | Your company no longer lets a server run on its API key, and the update stops. Paste this server's License Key into System secrets, then update again. |
A failed exchange shows as a Heads up toast and a banner across the top of the Installer until a later update succeeds.
Each install has its own identity: a seed the Installer creates on its first start, keeps as the install identity file in its secrets volume and passes to DataMind OS. DataMind OS signs its license check-ins with it, and the License Key belongs to the install that first checked in with it. The seed is never shown on any screen.
Keep it with your backups (Backup and restore). If the
file is lost, the Installer restores it from the DataMind OS .. If both copies are lost, the
install gets a new identity: the platform refuses its License Key, DataMind OS locks 72 hours later,
and DataMind has to reset the key's binding.
While a key is stored, the section also shows what the Installer reads of DataMind OS's license, for
example DataMind OS's license grant is verified and valid until <date>. or
DataMind OS has not verified this License Key yet.
It is a display only: the Installer never blocks on it. The license itself is managed in
License in DataMind OS.
A banner across the top of the Installer also shows:
AI and maps stop on <date>; DataMind OS locks on <date>. while a payment is overdue.Updates are paused: DataMind OS is locked for an overdue invoice. Installer updates still work.
while DataMind OS is locked.When a check or a save fails:
| What you see | What it means | What to do |
|---|---|---|
The key was not saved because platform. | The Installer could not complete the check before saving; the reason follows | Fix the reason, usually outbound access, and save again |
platform. (this API key for a company API key) | The gateway answered that the key is not valid | Copy this server's License Key again and paste it |
The stored DataMind key could not be decrypted (encryption key changed?). | The Installer's encryption key changed or was lost, for example after a restore | Restore it from your backup, or paste the key again. See Backup and restore |
The fixes, message by message, are in Troubleshooting.
The Azure client secret is the fallback. It is used only while no platform key is stored, and it signs the Installer in to the Azure registry and the file storage behind it. When Azure stops accepting it, the row shows a warning icon; request a new secret from DataMind and paste it in System secrets.
If the Installer can no longer read the stored secret, the message reads
Stored Azure client secret could not be decrypted (encryption key changed?). Paste it
again, or restore the Installer's encryption key from your backup, as
Backup and restore describes.
The registry work runs against whichever source is active:
These actions are admin-only. The Installer also runs the same downloads by itself during an install and at the downloading phase of every update, so you rarely need to fetch them by hand.
A download that fails names the source it used, so you can fix the right credential:
Failed to download env template from the DataMind Platform: …Failed to download env template from Azure: …The Compose file download reads the same way, with docker-compose. in place of env template.
Open Configuration → System secrets. The rows you use read Configured and show no warning icon, and the next install or update pulls every image without a registry error.
From PLATFORM_API_KEY in its own ., else from DataMind OS, else you paste it. See
Install in depth and
What lives on the host.
The License Key the DataMind Platform accepts. The Installer writes its License Key into DataMind OS, and adopts another License Key from DataMind OS only when the platform accepts it. An API key never replaces a License Key.
No. Each row shows only a short hint: the start and the end of the key with four dots in between, or the last four characters for another format. The full value is never shown or returned.
No. With a key, every image, file and update comes from the DataMind Platform, and the host needs no Azure access.
The Installer checks every key with platform. before storing it. Fix the reason in the
message, usually outbound access, and save again. See
Troubleshooting.
The Installer's encryption key changed or was lost, for example after a restore, so the stored value can no longer be decrypted. Restore it from your backup, or paste the key again. See Backup and restore.
Yes. It is the same key DataMind OS uses for AI, maps and its license check-ins. In DataMind OS it is managed in Admin > License.
No. Installer updates still work. Only DataMind OS updates and image pulls are paused while it
is locked.
AI_API_KEY row show while a key is stored?It becomes read-only, labelled Managed by DataMind Installer, and follows the stored key. See Configuration.
Admins. Other accounts see the screen read-only, with the values masked. See Users.
The same one installs use: the DataMind Platform while a key is stored, else Azure. See Updating.