Merge pull request #12412 from roidelapluie/inlinetls

Add support for inline TLS certificates
This commit is contained in:
Julien Pivotto 2023-06-17 10:16:32 +02:00 committed by GitHub
commit 652fb03081
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.