Skip to main content

Addon Configuration

mimOE addons are configured through .ini files in the addon/ directory. These files are created automatically when you install an addon (e.g., via the one-liner install script).

File Location

addon/
├── ai-foundation-1.8.1.addon
├── ai-foundation-1.8.1.ini # AI Foundation config
├── mesh-foundation-1.0.0.addon
└── mesh-foundation-1.0.0.ini # Mesh Foundation config

Each addon has a matching .ini file. The filename follows the pattern <addon-name>-<version>.ini.

API Keys

Every addon mim has an API_KEY field that controls access to its API endpoints. The default key for all addons is 1234.

AI Foundation

addon/ai-foundation-*.ini
[milm-v1]
# Controls access to the Inference API (/mimik-ai/openai/v1)
API_KEY=1234

# Extend execution timeout for larger models (default: 30s)
MCM.MAX_EXECUTION_TIME_SEC=180

[mmodelstore-v1]
# Controls access to the Model Registry API (/mimik-ai/store/v1)
# Uncomment to change from default
# API_KEY=1234
SectionAPIDefault Key
[milm-v1]Inference API1234
[mmodelstore-v1]Model Registry API1234

Mesh Foundation

addon/mesh-foundation-*.ini
[minsight-v1]
# Controls access to the Insight API (/mimik-mesh/insight/v1)
API_KEY=1234
SectionAPIDefault Key
[minsight-v1]Insight API1234

Changing an API Key

  1. Open the .ini file in the addon/ directory
  2. Change the API_KEY value under the relevant section
  3. Restart mimOE
[milm-v1]
API_KEY=my-secure-key

Then pass the new key in your requests:

Authorization: Bearer my-secure-key
Keep Keys in Sync

If you change the API_KEY for [mmodelstore-v1], you must also set MMODELSTORE_API_KEY in the [milm-v1] section to the same value. This is because milm communicates with mmodelstore internally.

Environment Variables

The .ini file sets environment variables for each mim. The API_KEY field is the most common, but addons may support additional variables.

VariableDescription
API_KEYBearer token for API authentication