When I have a need like that I usually just go to \opt\idp\metadata and idp-metadata.xml should be there. Its what comes out of the handler.. It is also populated at install and *NEVER* changes which it is why even thinking about it is a bad idea.