Make TLS config consistent with Prometheus (#1685)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
fa4edd700e
commit
091bed01b0
14 changed files with 57 additions and 55 deletions
|
|
@ -1,10 +1,11 @@
|
|||
tlsConfig :
|
||||
tls_config:
|
||||
# Certificate and key files for server to use to authenticate to client
|
||||
tlsCertPath : <filename>
|
||||
tlsKeyPath : <filename>
|
||||
cert_file: <filename>
|
||||
key_file: <filename>
|
||||
|
||||
# Server policy for client authentication. Maps to ClientAuth Policies
|
||||
[ clientAuth : <string> ]
|
||||
# For more detail on clientAuth options: [ClientAuthType](https://golang.org/pkg/crypto/tls/#ClientAuthType)
|
||||
[ client_auth_type: <string> | default = "NoClientCert" ]
|
||||
|
||||
# CA certificate for client certificate authentication to the server
|
||||
[ clientCAs : <filename> ]
|
||||
[ client_ca_file: <filename> ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue