spring-cloud / spring-cloud-config

External configuration (server and client) for Spring Cloud
Apache License 2.0
1.94k stars 1.28k forks source link

Spring Boot Cloud Config Unable to Decrypt Password even symetric key is being provided via Yml Config #2409

Open vamseedeepak-narra opened 2 months ago

vamseedeepak-narra commented 2 months ago

I have configured encrypt.key property in bootstrap.yml

Still I am getting this issues

Failed to bind properties under 'spring.cloud.config.password' to java.lang.String:

Property: spring.cloud.config.password
Value: "{cipher}<Text>"
Origin: class path resource [bootstrap.yml] - 11:31
Reason: java.lang.UnsupportedOperationException: No decryption for FailsafeTextEncryptor. Did you configure the keystore correctly?

It was working absolutely fine with version 2022.0.2

org.springframework.cloud spring-cloud-dependencies 2022.0.2 pom import