} else if (auth === KinveyHttpAuth.Master) {
      if (!appKey || !masterSecret) {
        throw new KinveyError('Missing appKey and/or masterSecret to authorize the request.');
      }
      const credentials = Base64.encode(`${appKey}:${masterSecret}`);