Add support for inline TLS certificates

Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
pull/12412/head
Julien Pivotto 2023-05-30 15:22:24 +02:00
parent edfc97a77e
commit 0de855508c
1 changed files with 7 additions and 2 deletions

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.