how to include system property in spring boot yml file
<p>I am using application.yml for my spring boot application.  I want to use the password saved in an environment variable within my configuration.  How can i achieve this?</p>

<p>Ex: <br/>
I have an environment variable called "JASYPT_PASSWORD" that contains the password.  I am trying to use it inside my application.yml file.</p>

<p>application.yml:</p>

<pre><code>jasypt:
  encryptor:
    password: ${JASYPT_PASSWORD}
spring:
  datasource:
    password: ENC(encryptedpassword+==)
</code></pre>

<p>If I replace the ${JASYPT_PASSWORD} with the actual password in the above configuration, everything works fine.</p>

<p>I have tried naming the environment variable: JASYPT_ENCRYPTOR_PASSWORD but that does not seem to get pulled in.</p>