Loading the documentation…

Secrets and registry access

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.

Where images and files come from

What is storedWhen it is usedWhere the Installer gets its images and files
A License Key, or a company API keyAs soon as it is stored; it wins over the secretThe DataMind Platform gateway, platform.datamind.ai
An Azure client secretOnly while no key is storedAzure: 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.datamind.ai.

The two system secrets

System secrets holds both rows:

RowWhat it holds
PLATFORM_API_KEYThis 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_SECRETThe 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.

Change or recover the License Key

When no key is stored yet, the Installer looks for one in this order:

  1. 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.
  2. The key DataMind OS already holds.
  3. A key you paste, on the setup screen or in System secrets.

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:

  1. Get this server's License Key: from Instances in the DataMind Platform console, where Regenerate key issues a new one, or from DataMind.
  2. Paste it into 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. Paste a License Key (dm-lic-…) instead.

Move from a company API key to a License Key

A server installed before License Keys runs on the company API key, and the section notes This is a company API key. The next update exchanges it for this server's own License 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 reportsWhat 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). The update continues on it, and the next update tries again.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). The update continues on it, and the next update tries again.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. Ask DataMind or create it under Instances.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.

The install seed

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 .env. 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.

The license grant

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 locks on <date> unless a check succeeds. 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:

When a check or a save fails:

What you seeWhat it meansWhat to do
The key was not saved because platform.datamind.ai could not validate it: …The Installer could not complete the check before saving; the reason followsFix the reason, usually outbound access, and save again
platform.datamind.ai did not accept this License Key. Copy it again from the DataMind Platform. (this API key for a company API key)The gateway answered that the key is not validCopy this server's License Key again and paste it
The stored DataMind key could not be decrypted (encryption key changed?). Re-enter it.The Installer's encryption key changed or was lost, for example after a restoreRestore 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

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?). Re-enter it. Paste it again, or restore the Installer's encryption key from your backup, as Backup and restore describes.

The registry area

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:

The Compose file download reads the same way, with docker-compose.yml in place of env template.

Check it worked

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.

Questions, answered

Where does the Installer get the License Key on the first start?

From PLATFORM_API_KEY in its own .env, else from DataMind OS, else you paste it. See Install in depth and What lives on the host.

The Installer says DataMind OS holds a different key. Which one is used?

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.

Can I see the stored key or client secret?

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.

Do I still need the Azure client secret when a key is stored?

No. With a key, every image, file and update comes from the DataMind Platform, and the host needs no Azure access.

Why was my new key not saved?

The Installer checks every key with platform.datamind.ai before storing it. Fix the reason in the message, usually outbound access, and save again. See Troubleshooting.

Why can the stored key no longer be read?

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.

Does the same key serve AI requests as well?

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.

Does a locked DataMind OS stop the Installer from updating itself?

No. Installer updates still work. Only DataMind OS updates and image pulls are paused while it is locked.

What does the 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.

Who can manage the system secrets?

Admins. Other accounts see the screen read-only, with the values masked. See Users.

Which source do updates use?

The same one installs use: the DataMind Platform while a key is stored, else Azure. See Updating.