title: Keycloak IdP SAML 2 Export of XML metdata to an SP
body: <p>I'm using Keycloak version 1.6.1, newly installed as a standalone application.</p>
  
  <p>Keycloak should act as an IdP (Identity provider) for an SP (Service Provider) called Tableau.</p>
  
  <p>I have read from this page: <a href="http://blog.keycloak.org/2015/03/picketlink-and-keycloak-projects-are.html" rel="noreferrer">http://blog.keycloak.org/2015/03/picketlink-and-keycloak-projects-are.html</a></p>
  
  <blockquote>
    <p>... Keycloak from being Identity Broker grew into being fully fledged
    Identity Provider</p>
  </blockquote>
  
  <p>While it was an Identity Broker, it is now also an Identity Provider.</p>
  
  <p>My question is then:</p>
  
  <p>I have exported the SP XML Metadata from Tableau, which I imported into Keycloak, but when it comes to the export of the IdP XML Metadata from Keycloak (which should be imported into Tableau) I cannot find the button/command/guide anything about how to export this XML file.</p>
  
  <p>I have worked with other IdPs and they all support this export of IdP Metadata which you can see an example of here: <a href="https://docs.oracle.com/cd/E19636-01/819-7664/g2enua/index.html" rel="noreferrer">https://docs.oracle.com/cd/E19636-01/819-7664/g2enua/index.html</a></p>
  
  <p>If I search for Keycloak and the keyword IDPSSODescriptor I find this:
  <a href="http://grepcode.com/file/repo1.maven.org/maven2/org.keycloak/keycloak-saml-protocol/1.1.0.Beta2/idp-metadata-template.xml" rel="noreferrer">grepcode.com/file/repo1.maven.org/maven2/org.keycloak/keycloak-saml-protocol/1.1.0.Beta2/idp-metadata-template.xml</a></p>
  
  <p>Which is exactly the 'template' I need, with the correct links on all ${idp.sso.HTTP-POST} etc. places.</p>
  
  <p>Should I create the file manually - if so how do I find the correct POST, REDIRECT etc. URLs?</p>
  
  <p>Or is there some way of exporting this file I haven't seen?</p>