--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault-tool+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vault-tool/7d668288-258c-4b40-a496-09859b695784%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It sounds like you can use env vars in context.xml: https://stackoverflow.com/questions/44761831/tomcat-8-context-xml-use-environment-variable-in-datasourceYou could use something like envconsul to fetch the secret from Vault, populate the env var, then invoke Tomcat.
On Thu, Apr 4, 2019 at 5:44 AM Søren Christian Aarup <s...@aarup.org> wrote:
Hi guys.--Thanks for your answers.I have been looking a bit on Spring Vault already and it looks like you have to be a developer to to get going there. I am a Linux operations guy. I didn't know about consul-templates, but the thing is, that we are not allowed to store passwords in plain conf/text files.
torsdag den 4. april 2019 kl. 09.03.26 UTC+2 skrev mic...@hashicorp.com:Hi,the information Becca provided is the right way to go.However, sometimes it's not possible to directly connect your application with Vault. In that case, I recommend to have a look at consul-template: https://github.com/hashicorp/consul-templateIt allows you to dynamically insert secrets from Vault into your context.xml file.Cheers,Michel
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/vault/issues
IRC: #vault-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Vault" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vault...@googlegroups.com.