redis配置在springboot中配置加密密码
redis在springboot中配置基本都是使用明文的,但是对于项目来说很多需要对密码进行加密处理,这里介绍一种可以配置redis密文密码的方式,并对密码进行解密。
redis在springboot的pom配置
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
配置文件中redis信息配置
spring:
# r