<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thanks. That looks like what I need.<br>
    Tim<br>
    <br>
    <div class="moz-cite-prefix">On 03/10/2015 13:39, Giriraj Sharma
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAB5vuUxN2moYM4VFsYjEA1BCOeG=5+Fb-r7EuqQhVwVznvrMhQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Tim,
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Please have a look a keycloak <a moz-do-not-send="true"
            href="http://keycloak.github.io/docs/userguide/html/export-import.html">docs</a>[1].
          I am not sure if it can be achieved via admin console too but
          I don't think so.<br>
        </div>
        <div><br>
        </div>
        <div><a moz-do-not-send="true" id="export-import"
            style="color:rgb(51,51,51);font-family:'Lucida
Grande',Geneva,Verdana,Arial,sans-serif;font-size:12px;line-height:18px;text-align:justify">
            <p style="display:inline!important">To export into single
              JSON file you can use:</p>
          </a><br>
        </div>
        <div><a moz-do-not-send="true" id="export-import"
            style="color:rgb(51,51,51);font-family:'Lucida
Grande',Geneva,Verdana,Arial,sans-serif;font-size:12px;line-height:18px;text-align:justify">
            <pre class="" style="font-size:0.9em;font-family:courrier,monospace;overflow:auto;padding:5px 15px 5px 25px;border:1px solid rgb(204,204,204);background-color:rgb(245,245,245)">bin/standalone.sh -Dkeycloak.migration.action=export
-Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=&lt;FILE TO EXPORT TO&gt;
</pre>
            <p>Here's an example of importing:</p>
            <pre class="" style="font-size:0.9em;font-family:courrier,monospace;overflow:auto;padding:5px 15px 5px 25px;border:1px solid rgb(204,204,204);background-color:rgb(245,245,245)">bin/standalone.sh -Dkeycloak.migration.action=import
-Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.file=&lt;FILE TO IMPORT&gt;
-Dkeycloak.migration.strategy=OVERWRITE_EXISTING</pre>
          </a></div>
        <div>[1]<a moz-do-not-send="true"
            href="http://keycloak.github.io/docs/userguide/html/export-import.html">http://keycloak.github.io/docs/userguide/html/export-import.html</a></div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, Oct 3, 2015 at 4:25 PM, Tim
          Dudgeon <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:tdudgeon.ml@gmail.com" target="_blank">tdudgeon.ml@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">keycloak
            provides a way to import the definition of a realm as json,
            but<br>
            I can't see any way in the UI to export the definition in
            the first place.<br>
            Am I missing something obvious?<br>
            Tim<br>
            _______________________________________________<br>
            keycloak-user mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-user"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr"><font color="#888888">
                  <div>
                    <table
style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;font-family:proxima-nova-1,proxima-nova-2,Tahoma,Helvetica,Verdana,sans-serif;vertical-align:baseline;border-spacing:0px;color:rgb(51,51,51);line-height:18.2000007629395px"
                      border="0" cellpadding="0" cellspacing="0">
                      <tbody
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                        <tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                          <td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:30px"> </td>
                        </tr>
                        <tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                          <td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:baseline;width:auto">
                            <div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;line-height:0"><a
                                moz-do-not-send="true"
                                href="http://about.me/girirajsharma?promo=email_sig"
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;color:rgb(58,169,233);text-decoration:none;display:inline-block"
                                target="_blank">
                                <table
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;border-spacing:0px"
                                  border="0" cellpadding="0"
                                  cellspacing="0">
                                  <tbody
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                                    <tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                                      <td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"
                                        align="left" valign="top">
                                        <div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Giriraj
                                          Sharma</div>
                                        <div style="margin:3px 0px
0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-size:12px;font-family:proxima-nova-1,Proxima-Nova,Helvetica,Arial,sans-serif;vertical-align:baseline;color:rgb(43,130,173)">about.me/girirajsharma</div>
                                      </td>
                                    </tr>
                                    <tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                                      <td style="padding:8px 0px
0px;border:0px;outline:0px;font-style:inherit;font-family:inherit;vertical-align:top;width:auto;line-height:1"
                                        align="left" valign="top">
                                        <div
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;text-align:right;height:4px;background-color:rgb(197,208,224)"><img
                                            moz-do-not-send="true"
                                            src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png"
                                            alt=""
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline;float:right;display:block"
                                            width="88" height="4"></div>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                              </a>  </div>
                          </td>
                        </tr>
                        <tr
style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:inherit;font-style:inherit;font-family:inherit;vertical-align:baseline">
                          <td
style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;font-family:inherit;vertical-align:baseline;width:auto;height:20px"> </td>
                        </tr>
                      </tbody>
                    </table>
                    Giriraj Sharma, </div>
                  <div>Department of Computer Science </div>
                  <div>National Institute of Technology Hamirpur </div>
                  <div>Himachal Pradesh, India 177005<br>
                  </div>
                </font></div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>