Split config into public and private