build vicredentials.xml file