support credential file for authentication