raise exception if we don't support credential type