Property `encrypt.key` in version Dalston.SR2+ is not effect
See original GitHub issuewhen I update spring cloud version from Dalston.SR1 to Dalston.SR2,
curl localhost:9010/encrypt/status
{
"description":"No key was installed for encryption service",
"status":"NO_KEY"
}
I have set encrypt.key=test
.
May be it is a bug
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Spring Cloud
Encrypted values in a .properties file must not be wrapped in quotes, otherwise the value will not be decrypted: application.properties. spring.datasource.
Read more >Spring Cloud Config- Decryption of properties is not working ...
On the config Client side, I have added encrypt.key in both application.properties and bootstrap.properties. encrypt.key=abcd. java · spring- ...
Read more >Spring Cloud Build Manual (2)--spring Cloud Config
Cause: The key used when encryption is not set. Workaround: When configuring Application.properties, add the configuration of key: encrypt.key=sisterred.
Read more >Encrypt Decrypt Cloud Config Properties - DevGlan
In this article we will be discussing about encryption and decryption of configuration property in spring cloud config using symmetric and ...
Read more >SpringCloud官方参考文档
It does not have any effect on prefixes defined within a given route's ... Prior to the Spring Cloud Dalston release, if Hystrix...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you put it in
bootstrap.properties
does it work?This is the fix https://github.com/spring-cloud/spring-cloud-config/pull/760. It has not made it into a release yet. You can test it using
Dalston.BUILD-SNAPSHOT
. It will be in the upcomingDalston.SR4
release.