loadConnectionEnvironment = async (sourceName) => {
	/** @type {any} */
	const out = {};
	const keyRegex = /^EVIDENCE_SOURCE__([a-zA-Z0-9_]+)$/;
	for (const [key, value] of Object.entries(process.env)) {
		const parts = keyRegex.exec(key);
		if (!parts) continue;
		if (parts?.length < 2) continue;
		if (!parts[1].toLowerCase().startsWith(sourceName.toLowerCase())) continue;
		const rawOptKey = parts[1].substring(sourceName.length + 2).split('__');
		let t = out;

		rawOptKey.forEach((key, i) => {
			if (i < rawOptKey.length - 1) {
				// We haven't reached the final key
				if (!t[key]) t[key] = {};
				t = t[key];
			} else {
				t[key] = value;
			}
		});
	}
	return out;
}
@param {string} sourceName
@deprecated Use loadSourceConfig