# 6.5 ETCD

# 范式

参考地址 (opens new window)

名称 类型 描述
endpoints []string etcd连接地址
certFile string 证书
keyFile string 私钥
caCert string 认证授权文件
basicAuth bool 是否开启简单用户名/密码验证
userName string 用户名
password string 密码
connectTimeout time 连接超时时间
secure bool 是否开启与ETCD服务器证书验证,默认false
autoAsyncInterval time 自动同步etcd member list的间隔

# 示例

[jupiter.etcdv3.myetcd]
    endpoints = ["127.0.0.1:2379"]
    connectTimeout = "10s"
1
2
3