split configs and API keys