Code Environments

Code environments are named key-value stores for secrets and configuration variables. They are scoped to a user or an organization and can be referenced when running Lispeum expressions.

Creating an environment

From the code Environments page, click Create Environment. Give it a name, an optional description, and an optional expiry date. Environments can be personal (visible only to you) or organization-scoped (visible to all members).

Managing entries

Each environment contains key-value entries. Keys are unique within an environment. Values are stored and can be any text content — use them for API keys, configuration values, or any variable your Lispeum expressions need at runtime. Entries can be added, edited, or deleted from the environment detail page.

Using environments at runtime

When running a file from the code editor, you select which environment to use. The Astreum machine loads the environment's entries so your expression can reference them by key. This keeps secrets out of your source code.

Expiry and cleanup

Environments can be given an expiry date. Expired environments are automatically cleaned up by a daily background task. You can see which environments are active and when they expire on the environments list page.

Plan limits

The number of environments you can create is subject to your subscription plan limits. Check the Pricing page for details.