Commit 14b61815 authored by tristaZero's avatar tristaZero
Browse files

add application-encrypt-databases.properties

parent e08a7d00
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
spring.shardingsphere.datasource.names=ds

spring.shardingsphere.datasource.ds.type=com.zaxxer.hikari.HikariDataSource
spring.shardingsphere.datasource.ds.driver-class-name=com.mysql.jdbc.Driver
spring.shardingsphere.datasource.ds.jdbc-url=jdbc:mysql://localhost:3306/demo_ds?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8
spring.shardingsphere.datasource.ds.username=root
spring.shardingsphere.datasource.ds.password=

spring.shardingsphere.encrypt.encryptors.name_encryptor.type=aes
spring.shardingsphere.encrypt.encryptors.name_encryptor.qualifiedColumns=t_user.user_name
spring.shardingsphere.encrypt.encryptors.name_encryptor.props.aes.key.value=123456
spring.shardingsphere.encrypt.encryptors.pwd_encryptor.type=assistedTest
spring.shardingsphere.encrypt.encryptors.pwd_encryptor.qualifiedColumns=t_user.pwd
spring.shardingsphere.encrypt.encryptors.pwd_encryptor.assistedQueryColumns=t_user.assisted_query_pwd