From 3cac112f5f83b7c820df481729cdb776d600f1ef Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 10 Jun 2021 15:26:57 +0300 Subject: [PATCH] s3-gw: expose TLS options in help Signed-off-by: Roman Khimov --- cmd/s3-gw/app-settings.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/s3-gw/app-settings.go b/cmd/s3-gw/app-settings.go index dc437475a..50873f01e 100644 --- a/cmd/s3-gw/app-settings.go +++ b/cmd/s3-gw/app-settings.go @@ -184,6 +184,9 @@ func newSettings() *viper.Viper { ttl := flags.DurationP(cfgConnectionTTL, "t", defaultTTL, "set gRPC connection time to live") flags.String(cfgListenAddress, "0.0.0.0:8080", "set address to listen") + flags.String(cfgTLSCertFile, "", "TLS certificate file to use") + flags.String(cfgTLSKeyFile, "", "TLS key file to use") + peers := flags.StringArrayP(cfgPeers, "p", nil, "set NeoFS nodes") domains := flags.StringArrayP(cfgListenDomains, "d", nil, "set domains to be listened")