Device key store
Choose where Algenta stores the per-device private key — Apple Secure Enclave, a Linux TPM, the OS keyring, or an encrypted file — and confirm the runtime is healthy with runtime doctor.
Every machine that runs the Algenta runtime holds a per-device signing key. It is the machine's cryptographic identity: the license records the key's public thumbprint, and renewal proves possession by signing a server nonce. The private key never leaves the machine. Where that private key is stored is selectable, so you can pin it to hardware on a laptop and to a deterministic encrypted file on a headless server.
You pick the store with ALGENTA_DEVICE_KEY_STORE, then restart the Algenta deployment and confirm the integrated runtime is healthy.
Choose a backend
ALGENTA_DEVICE_KEY_STORE accepts auto (the default), secure_enclave, tpm, keyring, or file. auto uses the OS keyring when a working keychain session is available and otherwise falls back to the encrypted file; the hardware backends (secure_enclave / tpm) are opt-in and never selected automatically, which keeps a device's identity stable. Force a value when you want a specific guarantee or a deterministic path for headless and CI hosts.
auto (default)
OS keyring when available, otherwise the encrypted file
Any host — prefers the keyring, falls back to a file
secure_enclave
Apple Secure Enclave (macOS hardware)
macOS machines with a Secure Enclave
tpm
TPM 2.0 chip (Linux hardware)
Linux servers with a TPM
keyring
OS keychain (macOS Keychain, Linux Secret Service, Windows Credential Manager)
Desktops with a logged-in keychain session
file
Encrypted file in the runtime dir (device_key.enc, mode 0600)
Headless servers, containers, CI — deterministic and hermetic
Set the backend and verify
Select a store on the engine host
Set ALGENTA_DEVICE_KEY_STORE (and, for the TPM path, its two companions) in the environment of the machine that runs the runtime.
export ALGENTA_DEVICE_KEY_STORE=secure_enclaveOn macOS this stores the private key in the Apple Secure Enclave. The key material is generated in and never leaves the secure hardware; the runtime asks the enclave to sign renewal nonces.
export ALGENTA_DEVICE_KEY_STORE=tpm
export ALGENTA_TPM_ENABLE=1
export ALGENTA_TPM_TCTI="device:/dev/tpmrm0"Requires a TPM 2.0 chip. ALGENTA_TPM_ENABLE=1 turns the TPM path on and ALGENTA_TPM_TCTI selects the TPM Command Transmission Interface — set it to your host's TPM device (for example the in-kernel resource manager device:/dev/tpmrm0).
export ALGENTA_DEVICE_KEY_STORE=keyringStores the key in the OS keychain — macOS Keychain, Linux Secret Service (GNOME Keyring / KWallet), or Windows Credential Manager. Requires the optional keyring package and a working backend session; a headless host with no keychain has none, so use file there instead.
export ALGENTA_DEVICE_KEY_STORE=fileWrites an encrypted device_key.enc (mode 0600) under the runtime directory. This is the deterministic, hermetic choice for servers, containers, and CI — no keychain session or hardware required.
Restart Algenta and confirm the runtime
Restart the Algenta deployment so it reads the new environment, then run the bundled doctor in that deployment. The runtime generates and persists the device key in the selected backend on first use, and the doctor confirms the runtime is loaded, verified, and licensed.
algenta runtime doctorIt reports the runtime source and mode, whether the native runtime is loaded and verified, the license state, and an overall status:
algenta runtime doctor
runtime source: bundled runtime
mode: resident-worker
path: /opt/algenta/runtime/algenta_runtime_worker
platform tag: manylinux_2_28_x86_64
package version: 1.0.0
abi (expected): 1
abi (native): 1
loaded: True
verified: True
fallback: denied
tcp listeners: none
license: valid (tier=pro, exp=1788645600)
status: READYNext steps
Last updated
Was this helpful?