mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
Merge pull request #12412 from roidelapluie/inlinetls
Add support for inline TLS certificates
This commit is contained in:
commit
652fb03081
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue