- Open application.yml
- Comment in encrypt.keyStore.* properties.
- Open bootstrap.yml
- Comment out encrypt.keyStore.* properties.
- Check out code, import into STS (or your preferred IDE)
- (Try) to start app.
- Do opposite of steps for reproduce issue.
- Comment out encrypt.keyStore.* properties in application.yml.
- Comment in encrypt.keyStore.* properties in bootstrap.yml.
Culprit class is org.springframework.cloud.config.server.config.EncryptionAutoConfiguration.KeyStoreConfiguration
It wants a bean of org.springframework.cloud.bootstrap.encrypt.RsaProperties
If you put the encrypt.keyStore.* properties in bootstrap.yml and watch the EncryptionAutoConfiguration.KeyStoreConfiguration class, you will see the RsaProperties being injected.
Sorry for the mess, this is a "playground" app I am using to teach myself some AWS services :)