diff --git a/backends/etcdv3/client.go b/backends/etcdv3/client.go
index <HASH>..<HASH> 100644
--- a/backends/etcdv3/client.go
+++ b/backends/etcdv3/client.go
@@ -26,6 +26,11 @@ func NewEtcdClient(machines []string, cert, key, caCert string, basicAuth bool, 
 		DialTimeout: 5 * time.Second,
 	}
 
+	if basicAuth {
+		cfg.Username = username
+		cfg.Password = password
+	}
+
 	tlsEnabled := false
 	tlsConfig := &tls.Config{
 		InsecureSkipVerify: false,
support etcdv3 basicauth