mehendocs

Referencemehen.toml

mehen.toml#

What goes in the project manifest?

The project manifest, committed at the repo root. It holds names and ids, never a secret.

# Mehen project manifest. No secrets, ever.
project = "prj_3kQ9..."
workspace = "tn_aeAL..."       # the workspace id; selects a workspace, grants nothing
vault = "https://app.mehen.dev"
default_env = "dev"            # a protected environment can never be the default

[vars]
OPENAI_API_KEY = "vault"       # comes from the vault; delivery decided by the vault
LOG_LEVEL = "info"             # plain, committed, not secret
KeyMeaning
projectThe project id (prj_...). Required.
workspaceThe workspace id (tn_...) the project lives in. It selects which of this machine's enrolments acts; it grants nothing.
vaultThe vault's origin. Together with workspace it picks the enrolment.
default_envThe environment used when there is no --env and no MEHEN_ENV. Never a protected one.
[vars]One line per variable: "vault" for one the vault delivers, or a plain non-secret value committed as is.

Rules#

Project variables with mehen run is the walkthrough; Projects, environments and runs is the model.