private ConfigProvider makeConfigProvider(String configType, ExhibitorCLI cli, CommandLine commandLine, PropertyBasedS3Credential awsCredentials, PropertyBasedS3ClientConfig awsClientConfig, BackupProvider backupProvider, String useHostname, String s3Region) throws Exception
{
Properties defaultProperties = makeDefaultProperties(commandLine, backupProvider);
ConfigProvider configProvider;
if ( configType.equals("s3") )
{
configProvider = getS3Provider(cli, commandLine, awsCredentials, awsClientConfig, useHostname, defaultProperties, s3Region);
}
else if ( configType.equals("file") )