mirror of
https://github.com/prometheus/prometheus
synced 2026-04-30 23:11:34 +08:00
Add support for inline TLS certificates
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user