Is your feature request related to a problem? Please describe. Having application.yml like this:

foo.bar: '{cipher}aaa'

works OK.

I'd like to use the encrypted value as a default only. So something like:

foo.bar: '${xyz:{cipher}aaa}'

This however doesn't work, as the {cipher}aaa part is not recognized as encrypted.

How should I fix it?

Additional context https://stackoverflow.com/questions/62701065/spring-cloud-config-encrypted-property-as-default-value

Comment From: spencergibb

Closing in favor of stack overflow. Please don't cross-post.