springcloud config :Authentication is required but no CredentialsProvider has been registered

缺乏、安全感 2022-12-22 09:06 214阅读 0赞
  1. 在注册中心配置git 仓库地址,那么我们需要配置git 用户名密码进行安全链接:
  2. spring:
  3. application:
  4. name: config-server
  5. cloud:
  6. config:
  7. name: config-server
  8. server:
  9. git:
  10. uri: https://github.com/xxx/config-server.git
  11. force-pull: true
  12. username: 11 //自己的用户名
  13. password: 1111//自己的密码

发表评论

表情:
评论列表 (有 0 条评论,214人围观)

还没有评论,来说两句吧...

相关阅读