VictoriaMetrics/lib/promauth
Aliaksandr Valialkin 1f105dde98
all: allow dynamically reading *AuthKey flag values from files and urls
Examples:

1) -metricsAuthKey=file:///abs/path/to/file - reads flag value from the given absolute filepath
2) -metricsAuthKey=file://./relative/path/to/file - reads flag value from the given relative filepath
3) -metricsAuthKey=http://some-host/some/path?query_arg=abc - reads flag value from the given url

The flag value is automatically updated when the file contents changes.
2024-01-21 22:03:38 +02:00
..
testdata basic OAuth2 support for remoteWrite and scrape targets (#1316) 2021-05-22 16:20:18 +03:00
config_test.go lib/promauth: follow-up for e16d3f5639 2023-10-25 23:19:37 +02:00
config.go all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-21 22:03:38 +02:00