Environment variables
How to set up the function execution environment.
The environment variables of the functions are managed with dotenv.
In order to make your function environment variables available through process.env, create a .env
file inside the emulator
folder and add variables on new lines in the form of NAME=VALUE. For example:
Assuming we have a function containing the following function.config.json:
The content of your .env
file must be:
Last updated