Environment Variables
Environment variables allow you to store values that you do not want
exposed to others. Docrunner allows you to load these in through the
docrunner.toml configuration file
You can learn more about docrunner configuration here
.env
docrunner.toml
- In this
docrunner.tomlfile we tell docrunner that we want to load the values in.envinto our environment, using the dotenv option
We can now access the environment variables in .env in our code snippets: