Externalise API keys fetching in its own module