Skip to main content
Zen by Aikido
Configuration via env vars

Configuration via env vars

For all runtimes

You can use the AIKIDO_TOKEN env variable to set the token you generated in Aikido:

AIKIDO_TOKEN="token"

You can use the AIKIDO_BLOCK env variable to enable blocking mode:

You can also toggle between blocking mode and detection only mode in the dashboard. The environment variable will be used as starting mode. When the config is retrieved, Zen will switch to the configured mode from the dashboard.

AIKIDO_BLOCK="true"

You can use the AIKIDO_DISABLE env variable to disable Zen entirely. In the unlikely event that Zen causes problems, you can disable Zen without removing any code or environment variables (e.g. AIKIDO_TOKEN etc).

AIKIDO_DISABLE="true"

You can use the AIKIDO_DEBUG env variable to output more information:

  • Whether certain packages are supported or not

  • Whether a token was detected

  • Whether Zen is running in detection only mode

AIKIDO_DEBUG="true"

You can use the AIKIDO_TRUST_PROXY env variable to trust proxies:

By default, trust proxy is enabled.

AIKIDO_TRUST_PROXY="false"