code: func parseConfig(configReader io.Reader) (*auth.AzureAuthConfig, error) {
  	var config auth.AzureAuthConfig
  
  	if configReader == nil {
  		return &config, nil
  	}
  
  	limitedReader := &io.LimitedReader{R: configReader, N: maxReadLength}
  	configContents, err := ioutil.ReadAll(limitedReader)
  	if err != nil {
  		return nil, err
  	}
  	if limitedReader.N <= 0 {
  		return nil, errors.New("the read limit is reached")
  	}
  	err = yaml.Unmarshal(configContents, &config)
  	if err != nil {
  		return nil, err
  	}
  
  	return &config, nil
  }
docs: // ParseConfig returns a parsed configuration for an Azure cloudprovider config file