Skip to content

env

Reads an environment variable.

env(x:string) -> string

The env function retrieves the value of an environment variable x. If the variable does not exist, it returns null.

from {x: env("PATH")}
{x: "/usr/local/bin:/usr/bin:/bin"}

config, secret