@@ -43,19 +43,19 @@ type Config struct {
43
43
}
44
44
45
45
type TLSConfig struct {
46
- TLSCert string `yaml:"cert"`
47
- TLSKey string `yaml:"key"`
48
- ClientCAsText string `yaml:"client_ca"`
49
- TLSCertPath string `yaml:"cert_file"`
50
- TLSKeyPath string `yaml:"key_file"`
51
- ClientAuth string `yaml:"client_auth_type"`
52
- ClientCAs string `yaml:"client_ca_file"`
53
- CipherSuites []Cipher `yaml:"cipher_suites"`
54
- CurvePreferences []Curve `yaml:"curve_preferences"`
55
- MinVersion TLSVersion `yaml:"min_version"`
56
- MaxVersion TLSVersion `yaml:"max_version"`
57
- PreferServerCipherSuites bool `yaml:"prefer_server_cipher_suites"`
58
- ClientAllowedSans []string `yaml:"client_allowed_sans"`
46
+ TLSCert string `yaml:"cert"`
47
+ TLSKey config_util. Secret `yaml:"key"`
48
+ ClientCAsText string `yaml:"client_ca"`
49
+ TLSCertPath string `yaml:"cert_file"`
50
+ TLSKeyPath string `yaml:"key_file"`
51
+ ClientAuth string `yaml:"client_auth_type"`
52
+ ClientCAs string `yaml:"client_ca_file"`
53
+ CipherSuites []Cipher `yaml:"cipher_suites"`
54
+ CurvePreferences []Curve `yaml:"curve_preferences"`
55
+ MinVersion TLSVersion `yaml:"min_version"`
56
+ MaxVersion TLSVersion `yaml:"max_version"`
57
+ PreferServerCipherSuites bool `yaml:"prefer_server_cipher_suites"`
58
+ ClientAllowedSans []string `yaml:"client_allowed_sans"`
59
59
}
60
60
61
61
type FlagConfig struct {
0 commit comments