spring cloud : config service - encrypt, decrypt config value(asymetric key)
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
README.md
|
||||
.gradle
|
||||
build/
|
||||
target/
|
||||
|
||||
@@ -2,7 +2,7 @@ spring:
|
||||
cloud:
|
||||
config:
|
||||
uri: http://127.0.0.1:8888
|
||||
name: config-service
|
||||
name: ecommerce
|
||||
|
||||
# profiles:
|
||||
# active: dev
|
||||
@@ -1,2 +1,6 @@
|
||||
encrypt:
|
||||
key: abcdefghijklmnopqrstuvwxyz0123456789
|
||||
# key: abcdefghijklmnopqrstuvwxyz0123456789
|
||||
key-store:
|
||||
location: file://${user.home}/Desktop/kim/study/keystore/apiEncryptionKey.jks
|
||||
password: test1234
|
||||
alias: apiEncryptionKey
|
||||
Reference in New Issue
Block a user