Absolute path in application.yml
<p>I am having some troubles in order to specify the absolute path of some resources in the application.yml of my spring boot app. </p>

<p>Using relative path works ok, I place those files under src/main/resources/key with the following configuration:</p>

<pre>
public:
  encryption:
    key: keys\encrypt\public_enc_asn1.key
  decryption:
    key: keys\decrypt\public_dec_asn1.key
private:
  decryption:
    key: keys\decrypt\private_dec_asn1.key
</pre>

<p>I am using windows. I put the same files under C:\test\ with the following configs in application.yml but they are not working:</p>

<pre>
public:
  encryption:
    key: C:\test\encrypt\public_enc_asn1.key
  decryption:
    key: C:\test\decrypt\public_dec_asn1.key
private:
  decryption:
    key: C:\test\decrypt\private_dec_asn1.key
</pre>

<p>How can I specify a windows absolute path in application.yml? I also tried with <code>${user.home}</code> option but no luck.</p>