Get secrets from enviroment

As I used this on Heroku, and heroku stores secrets in environment variables, I wanted to get the config from the environment. This enables that (but also allows the old behaviour).