question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Property `encrypt.key` in version Dalston.SR2+ is not effect

See original GitHub issue

when 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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanjbaxtercommented, Sep 27, 2017

If you put it in bootstrap.properties does it work?

0reactions
ryanjbaxtercommented, Sep 28, 2017

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 upcoming Dalston.SR4 release.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found