title: Jasypt not able to decrypt password from system environment variable with Spring
body: <p>I have jasypt password and the encrypted password defined in application.yml like this:</p>
  
  <pre><code>jasypt:
    encryptor:
      password: ${secretKey}
  
  spring:
     datasource: 
         password: ENC(${password})
  </code></pre>
  
  <p>And using @Value for it:</p>
  
  <pre><code>@Value("${spring.datasource.password}")
  private String springPassword;
  </code></pre>
  
  <p>I have defined both secretKey and password in my environment variable. But when I start this spring boot application, it throws error:</p>
  
  <pre><code>Caused by: org.springframework.cache.Cache$ValueRetrievalException: Value for key 'spring.datasource.password' could not be loaded using 'com.ulisesbocchio.jasyptspringboot.caching.CachingDelegateEncryptablePropertySource$$Lambda$209/172678484@5ae15'
  </code></pre>
  
  <p>If I hardcode both of the keys, than it's working fine.</p>
  
  <p>Any help would be appreciated.</p>