License Operations

This page covers running a licensed Enterprise Stack after activation. To activate a license, see Licensing. For the license.conf fields, see License configuration. The quickstart's LICENSING.md walks through offline activation, renewal and disaster recovery with Docker Compose.

What the License Is Bound To

A license is bound to an installation key, not to a host, IP address, database server, connection string or cluster.

  • Default: the stack generates the installation key on first activation. It stores that key and the license credential in its database, encrypted. When LICENSE_STATE_ENCRYPTION_KEY is unset, the encryption secret is stored in the database too, so a full database backup is enough to restore the license. When you set the variable, the restore also needs that same secret.
  • Pinned key: you generate the key yourself, keep it in your secret manager and pass it with installationKeyFile. The key and a license can then activate an empty database. Configure it before the first activation: if the database already holds a different key, startup fails.

Online and Offline Licenses

OnlineOffline
ConnectivityOutbound HTTPS to licenseServerUrlNone
RenewalAutomatic, every 12 hoursYou export a usage report, walt.id returns a new .waltlicense bundle, and you mount it and restart
Credential lifetime4 days by default; walt.id can set up to 14 days per licenseAs agreed, up to one year
After expiry24 hours of grace, then new operations are blockedNew operations are blocked immediately

An online stack keeps running through a license-server outage for the rest of its credential lifetime plus the 24 hours of grace. With the default lifetime, that is at least 4.5 days.

What Is Sent to walt.id

  • The license contains the license and organization IDs, the type (dev or prod), features, online or offline, usage limits, validity dates and the public installation key. It contains no host, network, database or cluster data.
  • Usage reports are signed with the installation key. They hold monthly counters per usage type, such as issued credentials, verification sessions, created wallets and key operations. They contain no credential content and no personal data. For each pod they also include the hostname, pod IP, pod and node name, namespace, operating system and version, and stack version.
  • Online: the stack sends usage reports automatically every 10 minutes.
  • Offline: nothing is sent automatically. A super admin exports the reports with POST /license/usage-report/export and sends them to walt.id for renewal. Each report is a signed JWT, so you can decode and review it before sending it.
  • Offline installation request: only the public installation key, the license and organization IDs, a nonce and timestamps.

Database and Infrastructure Changes

ChangeNew license needed?
Database version upgrade in placeNo. License state is ordinary data in the database.
Moving the data to a new database clusterNo. Treat it as a restore.
New connection string to the same dataNo.
Restore from backupNo, if the backup includes all collections. A deployment that sets LICENSE_STATE_ENCRYPTION_KEY must keep using that same value.
Empty databaseDepends on the installation key. See Disaster Recovery.
Failover to another siteNo. See Failover and DR Drills.

After a restore:

  • An online stack renews its credential on startup. If walt.id is unreachable at that moment, the stack starts only if the restored credential is still within its lifetime plus grace.
  • For an offline license, mount the newest .waltlicense bundle. A bundle with a newer issue date replaces the stored one.
  • Tell walt.id about the restore. Usage counters go back to the state of the backup.

Disaster Recovery

What you need to recover onto an empty database depends on the installation key:

  • Default key: the key is lost with the database. Contact walt.id to release the installation and issue a new license.
  • Pinned key, offline license: mount the key and the current .waltlicense bundle. The stack activates on any empty database without walt.id.
  • Pinned key, online license: ask walt.id for a new credential offer. The license stays bound to your key, so it does not have to be reissued.

Keep a recovery kit for each environment in your secret manager:

  • the pinned installation key
  • the current .waltlicense bundle (offline licenses)
  • LICENSE_STATE_ENCRYPTION_KEY, when you set one

The step-by-step guide, including a script that generates the key, is Disaster recovery with a pinned installation key.

The Helm chart does not support a pinned installation key yet.

Failover and DR Drills

The license follows the database and the installation key, not the cluster.

  • Active/passive with a replicated database: nothing to do for the license. Use the same LICENSE_STATE_ENCRYPTION_KEY when the deployment sets one.
  • Online licenses: the standby site needs outbound access to licenseServerUrl.
  • Pod count: the licensed number of pods applies to the whole deployment. Pods of a failed site keep their slots for up to 3 minutes, so plan headroom for failover and rolling updates.
  • Two sites at once: do not run two sites with separate databases on one license at the same time. A second deployment running in parallel needs its own license.

Monitoring

Alert on GET /license/status (super admin). It reports restriction and expiresInSeconds.

  • restriction is not ACTIVE.
  • Online: expiresInSeconds is below 2 days. Renewal runs every 12 hours, so a lower value means it keeps failing.
  • Offline: expiresInSeconds is below 30 days. There is no grace period, and a renewal needs a round trip with walt.id.

From version TBD, with Prometheus enabled, every pod also exports enterprise_license_seconds_until_expiry, enterprise_license_restriction_state (0 ACTIVE, 1 GRACE, 2 RESTRICTED, 3 UNLICENSED) and enterprise_license_heartbeat_consecutive_failures. In earlier versions these series appear only after a status call and do not update, so use the status endpoint.

Support

Online renewal is automatic. walt.id handles new licenses, offline renewals and recovery after a lost installation key. Contact us through the Support Portal. Response times follow your support agreement.

Last updated on November 9, 2026