title: Access vault secret using spring-cloud-vault and use it in application.properties
body: <p>I have a vault server hosted in Openshift and I have to access secrets from the Vault into my spring application. 
  My bootstrap.yml looks like this : </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>spring:
    application:
      name: application-name
    profiles: dev
    cloud:
      vault:
        fail-fast: true
        host: HOST
        port: 443
        scheme: https
        token: MY_TOKEN
        authentication: TOKEN
        kv:
          enabled: true
          backend: secret
          profile-separator: '/'
          application-name: application-name</code></pre>
  </div>
  </div>
  </p>
  
  <p>I checked vault logs and able to make connection from spring application to vault.</p>
  
  <p>I can access the secret using Value Property Source. 
  However, I want to populate the secret's value into application.properties to update properties like spring.datasource.username and spring.datasource.password. </p>
  
  <p>Is there any way to access the secret directly from application.properties?</p>