centralised cluster xml and creating credentials