File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ # TLS and basic authentication configuration example.
2
+ #
3
+ # Additionally, a certificate and a key file are needed.
4
+ tls_server_config :
5
+ cert_file : server.crt
6
+ key_file : server.key
7
+
8
+ # Usernames and passwords required to connect.
9
+ # Passwords are hashed with bcrypt: https://github.com/prometheus/exporter-toolkit/blob/master/docs/web-configuration.md#about-bcrypt.
10
+ basic_auth_users :
11
+ alice : $2y$10$mDwo.lAisC94iLAyP81MCesa29IzH37oigHC/42V2pdJlUprsJPze
12
+ bob : $2y$10$hLqFl9jSjoAAy95Z/zw8Ye8wkdMBM8c5Bn1ptYqP/AXyV0.oy0S8m
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ basic_auth_users:
75
75
[ <string>: <secret> ... ]
76
76
```
77
77
78
- [ A sample configuration file] ( web.yml ) is provided.
78
+ [ A sample configuration file] ( web-config .yml ) is provided.
79
79
80
80
## About bcrypt
81
81
You can’t perform that action at this time.
0 commit comments