Browse Source

etcdserver: add 'ClientCertAuthEnabled' option

Gyu-Ho Lee 9 years ago
parent
commit
9510bd6036
1 changed files with 3 additions and 0 deletions
  1. 3 0
      etcdserver/config.go

+ 3 - 0
etcdserver/config.go

@@ -56,6 +56,9 @@ type ServerConfig struct {
 	StrictReconfigCheck bool
 
 	EnablePprof bool
+
+	// ClientCertAuthEnabled is true when cert has been signed by the client CA.
+	ClientCertAuthEnabled bool
 }
 
 // VerifyBootstrap sanity-checks the initial config for bootstrap case