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

This commit is contained in:
haerong22
2021-10-02 20:48:10 +09:00
parent 35be135132
commit 147bf15edd
3 changed files with 8 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
encrypt:
key: abcdefghijklmnopqrstuvwxyz0123456789

View File

@@ -17,11 +17,11 @@ spring:
settings:
web-allow-others: true
path: /h2-console
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:testdb
username: sa
password:
# datasource:
# driver-class-name: org.h2.Driver
# url: jdbc:h2:mem:testdb
# username: sa
# password:
eureka:
instance:

View File

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