1 Reply Latest reply on May 8, 2015 7:03 PM by Juan Antonio Perez Flores

    It is possible to encrypt the value of the <connection-url> tag of the datasource in the standalone.xml?

    Agustin Pazos Newbie

      Hello,

       

      I had no problem to encrypt the password of the datasourse using the vault tool provided by wildfly.

      Now, my questions is: it can encrypt the connection-url tag (highlighted in yellow) value of the datasource?

       

                      <datasource jndi-name="java:jboss/datasources/ExampleDS" pool-name="ExampleDS" enabled="true" use-java-context="true" use-ccm="true">

                          <connection-url>jdbc:sqlserver://11.11.11.11:1888;databaseName=Example</connection-url>

                          <driver>sqlserver</driver>

                          <pool>

                              <min-pool-size>5</min-pool-size>

                              <max-pool-size>10</max-pool-size>

                              <prefill>true</prefill>

                              <use-strict-min>true</use-strict-min>

                          </pool>

                          <security>

                              <user-name>EXAMPLE_USER</user-name>

                              <password>${VAULT::ExampleDS::password::1}</password>

                          </security>

                      </datasource>

       

      Thanks for the help