Spring Cloud Config是否支持集中证书?

时间:2019-04-11 06:10:25

标签: spring-cloud-config

我可以将密钥库文件存储在git repo中并通过Spring云配置服务器对其进行访问吗?还是仅支持属性文件?

2 个答案:

答案 0 :(得分:0)

看起来像。 将密钥库文件存储在git repo中,并通过/ {name} / {profile} / {label} / {path}访问。 参考/ {name} / {profile} / {label} / {path}

答案 1 :(得分:0)

Spring Cloud Config Server确实支持通过URL加载静态文件: https://cloud.spring.io/spring-cloud-config/reference/html/#_serving_plain_text

检索文件后,可以以编程方式加载密钥存储文件:http://tutorials.jenkov.com/java-cryptography/keystore.html#loading-the-keystore

相关问题