Skip to content

envAll

envAll() → object · System

Get all environment variables as a key-value object.

utlx
let allEnv = envAll()
{
  home: allEnv.HOME,
  path: allEnv.PATH,
  count: count(entries(allEnv))
}

Security note: can be restricted in UTLXe via security policy (Chapter 38) to prevent exfiltration of host secrets in multi-tenant deployments.

Released under AGPL-3.0.