popular-magentaP
Apify & Crawlee3y ago
6 replies
popular-magenta

Using env vars with secret values via `apify secrets:add`, `actor.json`, and default start script

The documentation (https://docs.apify.com/cli/docs/vars) doesn't touch on how you access any environment variables set in actor.json in an actor's source–I'm using the monorepo example repository.
There are two options how you can set up environment variables for actors.
Environment variables | Apify Documentation
Was this page helpful?