Add support for mTLS for Audit log target (#11645)

This commit is contained in:
Nitish Tiwari
2021-03-01 22:49:13 +05:30
committed by GitHub
parent 10bdb78699
commit bbd1244a88
6 changed files with 97 additions and 17 deletions
+15 -1
View File
@@ -16,7 +16,9 @@
package logger
import "github.com/minio/minio/cmd/config"
import (
"github.com/minio/minio/cmd/config"
)
// Help template for logger http and audit
var (
@@ -58,5 +60,17 @@ var (
Optional: true,
Type: "sentence",
},
config.HelpKV{
Key: ClientCert,
Description: "mTLS certificate for Audit Webhook authentication",
Optional: true,
Type: "string",
},
config.HelpKV{
Key: ClientKey,
Description: "mTLS certificate key for Audit Webhook authentication",
Optional: true,
Type: "string",
},
}
)