// actor.json { // ...rest of actor.json "environmentVariables": { "PROXY_PASSWORD": "@proxy_password" }, }
process.env.PROXY_PASSWORD
, and the start script is node --no-warnings --experimental-specifier-resolution=node --loader ../../module_loader.js src/index.ts
secrets
suggests that environment variables defined in actor.json are not available during local development: When the actor is pushed to Apify cloud, the "SECRET_ENV_VAR" and its value is stored as a secret environment variable of the actor.