We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version
Spring cloud config server 4.0.2
Explanation
in this commit b2508eb
encrypt and decrypt controller
b2508eb#diff-f18a83930fb437413479ed50adc18dedbf115b37e560d8481185a796c24444d8R107-L131
b2508eb#diff-f18a83930fb437413479ed50adc18dedbf115b37e560d8481185a796c24444d8R127-L150
stop to propagate data variable to EnvironmentPrefixHelper.getEncryptorKeys()
EnvironmentPrefixHelper.getEncryptorKeys()
Sample with custom TextEncryptorLocator
@Configuration(proxyBeanMethods = false) public class Encryption { private final DefaultTextEncryptionAutoConfiguration defaultTextEncryptionAutoConfiguration; public Encryption() { defaultTextEncryptionAutoConfiguration = new DefaultTextEncryptionAutoConfiguration(); } @Bean public TextEncryptorLocator textEncryptorLocator(MultiKeyProperties multiKeyProperties) { return keys -> { KeyProperties keyPropertiesForClient = multiKeyProperties.encrypt().get(keys.get("application")); return defaultTextEncryptionAutoConfiguration.defaultTextEncryptor(keyPropertiesForClient); }; } }
$ curl -s localhost:8090/encrypt --data-urlencode '{"key":"one","secret":"value"}Hello world 2'
the keys map contained nothing except name and profiles entry
keys
name
profiles
The text was updated successfully, but these errors were encountered:
fix: transmit data from spring cloud config server controller to getE…
f1ee7fb
…ncryptor Fixes spring-cloudgh-2252
e7669e1
66724a9
…ncryptor (#2253) Fixes gh-2252
Successfully merging a pull request may close this issue.
Version
Spring cloud config server 4.0.2
Explanation
in this commit b2508eb
encrypt and decrypt controller
b2508eb#diff-f18a83930fb437413479ed50adc18dedbf115b37e560d8481185a796c24444d8R107-L131
b2508eb#diff-f18a83930fb437413479ed50adc18dedbf115b37e560d8481185a796c24444d8R127-L150
stop to propagate data variable to
EnvironmentPrefixHelper.getEncryptorKeys()
Sample with custom TextEncryptorLocator
the
keys
map contained nothing exceptname
andprofiles
entryThe text was updated successfully, but these errors were encountered: