<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello Martin,</p>
    <p>the following comes to my mind:<br>
    </p>
    <ol>
      <li>Ivan has once written a nice blogpost about maintaining
        environment-specific parameters: <a
href="https://evolveum.com/blog/storing-extended-attributes-in-system-configuration-extended-attributes/">https://evolveum.com/blog/storing-extended-attributes-in-system-configuration-extended-attributes/</a>.
        Although this is probably limited to using system-specific
        properties for mappings only, it is an interesting idea. Please
        note that it is advised to use the current master so that
        $configuration variable would be available at all relevant
        places. Here is a (draft!) document of where it is available as
        of now: <a
          href="https://wiki.evolveum.com/display/%7Emederly/Mappings">https://wiki.evolveum.com/display/~mederly/Mappings</a>.</li>
      <li>There is an Eclipse plugin being prepared that will solve this
        problem, see <a
          href="https://jira.evolveum.com/browse/MID-3358">https://jira.evolveum.com/browse/MID-3358</a>
        (the fourth point). If time permits, it could be implemented
        quite soon.<br>
      </li>
      <li>You can always create your own solution that would do the same
        as Eclipse plugin: maintain your files offline (with some
        ${ADResource.host} - style references), and run scripts against
        them that would:</li>
      <ol>
        <li>expand the references,</li>
        <li>upload expanded files to server via <a
            href="https://wiki.evolveum.com/display/midPoint/REST+API">REST
            API</a>.</li>
      </ol>
    </ol>
    Hope this helps,<br>
    <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
    <div class="moz-cite-prefix">On 06.09.2016 16:15, Martin Marchese
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAG3rmdrWGXM3p9v469ML_QxX5hV=nO9UuvQ=oszg=jCWoiEO1g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>Working on deploying our resources among different
          environments I found myself changing credentials for resource
          service accounts on every new environment (e.g. AD service
          account has a different password in dev, uat and prod).</div>
        <div><br>
        </div>
        <div>I was wondering if there's a way in which I can store a
          global config with those values on each environment so I can
          deploy resources many times without having to change
          credentials (and any other environment specific value).</div>
        <div><br>
        </div>
        <div>Thanks in advance.<br clear="all">
          <div>
            <div class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div>
                      <div dir="ltr">
                        <div>
                          <div dir="ltr">
                            <div>
                              <div dir="ltr"><b><span></span><span></span>Ing.
                                  Martín Marchese</b><br>
                                <img moz-do-not-send="true"
                                  src="http://www.identicum.com/img/favicon.ico">Identicum
                                S.A.<br>
                                Jorge Newbery 3226<br>
                                Tel: +54 (11) 4552-3050<br>
                                <a moz-do-not-send="true"
                                  href="mailto:mmarchese@identicum.com"
                                  target="_blank">mmarchese@identicum.com</a><br>
                                <a moz-do-not-send="true"
                                  href="http://www.identicum.com"
                                  target="_blank">www.identicum.com</a></div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>