Add support for inline TLS certificates

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
Julien Pivotto 2023-05-30 15:22:24 +02:00 committed by Bryan Boreham
parent 18f3c26ce0
commit 71b5a9f79f

View file

@ -427,11 +427,16 @@ Where `<job_name>` must be unique across all scrape configurations.
A `tls_config` allows configuring TLS connections.
```yaml
# CA certificate to validate API server certificate with.
# CA certificate to validate API server certificate with. At most one of ca and ca_file is allowed.
[ ca: <string> ]
[ ca_file: <filename> ]
# Certificate and key files for client cert authentication to the server.
# Certificate and key for client cert authentication to the server.
# At most one of cert and cert_file is allowed.
# At most one of key and key_file is allowed.
[ cert: <string> ]
[ cert_file: <filename> ]
[ key: <secret> ]
[ key_file: <filename> ]
# ServerName extension to indicate the name of the server.