Support setting the API key via an environment variable