code: func (configFile *ConfigFile) GetCredentialsStore(registryHostname string) credentials.Store {
  	if helper := getConfiguredCredentialStore(configFile, registryHostname); helper != "" {
  		return newNativeStore(configFile, helper)
  	}
  	return credentials.NewFileStore(configFile)
  }
docs: // GetCredentialsStore returns a new credentials store from the settings in the
  // configuration file