Reads configuration based on a provider configuration and returns a new instance of the configuration object