spring cloud : config service - encrypt, decrypt config value(asymetric key)

This commit is contained in:
haerong22
2021-10-04 19:58:05 +09:00
parent f4d165fec3
commit 8b1cf46364
3 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,3 @@
README.md
.gradle
build/
target/

View File

@@ -2,7 +2,7 @@ spring:
cloud:
config:
uri: http://127.0.0.1:8888
name: config-service
name: ecommerce
# profiles:
# active: dev

View File

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