Every setting is an environment variable with the CIAREN_ prefix. You can set
it in the shell, in a .env file in the directory you start Ciaren from, or (for
a few) as a ciaren serve flag. Advanced Setup explains
which source wins.
Booleans are true or false. Lists, such as CIAREN_CORS_ORIGINS, are JSON.
UI marks the settings you can also edit on the
Settings page. A saved override
there takes precedence over the variable until you reset it.
ciaren info prints the resolved values (secrets are shown only as set or
unset). ciaren check validates them.
Bearer token required for /api/* requests. Send it as Authorization: Bearer <token> or X-Ciaren-Token
CIAREN_WEBHOOK_SECRET
None
Enables POST /api/flows/{id}/trigger, authenticated with X-Ciaren-Secret. See Webhook Trigger
CIAREN_CORS_ORIGINS
["http://localhost:5173"]
Allowed CORS origins. The CSRF origin guard also trusts them
CIAREN_TRUSTED_HOSTS
[]
Extra hostnames the CSRF origin guard trusts beyond localhost. See production deployment
CIAREN_PYTHON_TRANSFORM_STRICT
false
Stricter static checks for Python Transform scripts
CIAREN_CONNECTOR_BLOCK_PRIVATE_HOSTS
false
Refuse connector endpoints that resolve to private or internal addresses
CIAREN_STORAGE_ALLOWED_ROOTS
[]
Confine Local Storage roots and SQLite or DuckDB files to these directories. Empty (the default) allows any folder
CIAREN_SECRET_ENV_ALLOWLIST
[]
Environment variables (or PREFIX* patterns) that an env: secret reference may name. Empty (the default) allows any variable except Ciaren's own CIAREN_* variables, which are always refused
CIAREN_SECRET_FILE_DIRS
[]
Folders that file: secret references may read. Defaults to <DATA_DIR>/secrets and /run/secrets, and is always enforced