lookup credentials from cfgfile