2020-12-29 12:14:45 -08:00
|
|
|
# TLS and basic authentication configuration example.
|
|
|
|
#
|
|
|
|
# Additionally, a certificate and a key file are needed.
|
|
|
|
tls_server_config:
|
|
|
|
cert_file: server.crt
|
|
|
|
key_file: server.key
|
|
|
|
|
|
|
|
# Usernames and passwords required to connect to Prometheus.
|
2021-04-19 15:44:29 -07:00
|
|
|
# Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#about-bcrypt
|
2020-12-29 12:14:45 -08:00
|
|
|
basic_auth_users:
|
|
|
|
alice: $2y$10$mDwo.lAisC94iLAyP81MCesa29IzH37oigHC/42V2pdJlUprsJPze
|
|
|
|
bob: $2y$10$hLqFl9jSjoAAy95Z/zw8Ye8wkdMBM8c5Bn1ptYqP/AXyV0.oy0S8m
|