Przeglądaj źródła

etcdmain: document peer-cert-allowed-cn flag

Eric Chiang 7 lat temu
rodzic
commit
f01d690e6f
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      etcdmain/help.go

+ 2 - 0
etcdmain/help.go

@@ -154,6 +154,8 @@ security flags:
 		enable peer client cert authentication.
 		enable peer client cert authentication.
 	--peer-trusted-ca-file ''
 	--peer-trusted-ca-file ''
 		path to the peer server TLS trusted CA file.
 		path to the peer server TLS trusted CA file.
+	--peer-cert-allowed-cn ''
+		Required CN for client certs connecting to the peer endpoint.
 	--peer-auto-tls 'false'
 	--peer-auto-tls 'false'
 		peer TLS using self-generated certificates if --peer-key-file and --peer-cert-file are not provided.
 		peer TLS using self-generated certificates if --peer-key-file and --peer-cert-file are not provided.
 	--peer-crl-file ''
 	--peer-crl-file ''