Reading providers API keys from the environment has inherent security flaws.
I suggest to add the option --api-key-command [CMD]. Whenever the the key KEY is needed, the output of CMD KEY is read and it is interpreted as the relevant API key.
A suitable option in the settings should be added, as well.