Skip to content

Commit d004acd

Browse files
authored
Merge pull request #125 from Icinga/config-tls-unset-key
config: unset TLS Key environment variable
2 parents 33ea554 + abe4986 commit d004acd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type TLS struct {
4141

4242
// Key is either the path to the TLS key file or a raw PEM-encoded string representing it.
4343
// If specified, Cert must also be provided.
44-
Key string `yaml:"key" env:"KEY"`
44+
Key string `yaml:"key" env:"KEY,unset"`
4545

4646
// Ca is either the path to the CA certificate file or a raw PEM-encoded string representing it.
4747
Ca string `yaml:"ca" env:"CA"`

0 commit comments

Comments
 (0)