Passing Datomic console options via file <p>Someone noticed that on one of our Datomic transactor boxes, our process running the Datomic console is exposing database credentials. </p> <p>Here is what our we get back when running <code>ps aux | grep datomic</code> (linebreaks added for readability):</p> <pre><code>[ian@testtransactor ~]$ ps aux | grep datomic datomic 18372 0.8 55.7 6898068 4495820 ? Sl Nov01 31:20 java -server -cp lib/*:datomic-transactor-pro-0.9.5394.jar:samples/clj:bin:resources -Xmx4g -Xms4g -Ddatomic.printConnectionInfo=false -Doracle.net.tns_admin=/usr/lib/oracle/11.2/client64/network/admin -Dgraphite.host=graphite -Dgraphite.port=2003 -Dgraphite.prefix=datomic.testransactor clojure.main --main datomic.launcher /opt/datomic-pro-0.9.5394/config/transactor.properties root 18821 0.2 10.2 3503992 826664 ? Sl May20 504:04 java -server -Xmx1g -Doracle.net.tns_admin=/usr/lib/oracle/11.2/client64/network/admin -cp lib/console/*:lib/*:datomic-transactor-pro-0.9.5327.jar:samples/clj:bin:resources clojure.main -i bin/bridge.clj --main datomic.console -p 3035 dev datomic:sql://?jdbc:oracle:thin:USERNAME/PASSWORD@DB_SID </code></pre> <p>Our security team would prefer that the password be passed to the console process via a properties file, like we do with the transactor. Unfortunately, just mirroring it with <code>clojure.main -i bin/bridge.clj --main datomic.console /opt/datomic-pro-0.9.5394/config/console.properties</code> doesn't work. Does anyone have suggestions on how to set this up?</p>