此版本仍在开发中,尚未被视为稳定版本。对于最新的稳定版本,请使用 Spring Cloud Config 4.1.4spring-doc.cadn.net.cn

执行器和安全

一些平台会配置运行状况检查或类似内容,并指向/actuator/health或其他 Actuator 端点。如果 actuator 不是 config server 的依赖项,则对/actuator/将匹配配置服务器 API/{application}/{label}可能泄露安全信息。请记住添加spring-boot-starter-actuator依赖项,并配置用户,以便调用/actuator/无权访问 Config Server API,网址为/{application}/{label}.