mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-05 13:47:10 +02:00
13 lines
442 B
YAML
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
|