VictoriaMetrics/lib/promauth
Aliaksandr Valialkin dd0d773c13
lib/promauth: follow-up after 006b8c7534
- Take into account `ca`, `key` and `cert` values when generating string representation of TLSConfig.
  Print hashes instead of real values because of security considerations.
- Properly update Config.tlsCertDigets when `key` and `cert` values are set.
  This allows properly updating scrape targets after these values are updated in configs.
- Do not re-generate certificate from `key` and `cert` values per each call to getTLSCert,
  because these values are immutable.
- Do not set `ca` value from `ca_file` value, so it isn't exposed at `/config` page.
- Generate proper error messages on incorrect `key`, `cert` or `ca` values.
2022-06-04 01:11:23 +03:00
..
testdata basic OAuth2 support for remoteWrite and scrape targets (#1316) 2021-05-22 18:02:01 +03:00
config.go lib/promauth: follow-up after 006b8c7534 2022-06-04 01:11:23 +03:00
config_test.go app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:42:13 +02:00
util.go app: allow specifying http and https urls in the following command-line flags 2021-12-03 00:11:47 +02:00