title: How do I store a Java KeyStore password?
body: <p>In my web application I access a private key that is stored in a Java KeyStore. I would like to know what is the best/recommended way to store the password for the KeyStore and private key.</p>
  
  <p>I've considered using a properties file but that does not seem very secure for use in a production environment (storing password in a plain text file). Also, hard-coding the password in my code is not an option I'm willing to entertain.</p>
  
  <p>Thanks.</p>