prometheus/documentation/examples/promtool-http-config-file.yml
RaphSku 938e5cb62b
docs: Added documentation for promtool configuration with http.config.file (#16522)
Includes an example.

Signed-off-by: RaphSku <rapsku.dev@gmail.com>
2025-07-07 00:00:51 +02:00

13 lines
442 B
YAML

# TLS and basic authentication configuration example.
# For `basic_auth`, use the Prometheus credentials configured earlier in the `web-config.yml` file.
# The password must be provided in plaintext.
# To avoid including plaintext passwords directly in this file, consider using `password_file` or `password_ref` instead.
basic_auth:
username: alice
password: verylongpassword
tls_config:
cert_file: server.crt
key_file: server.key