v1.107.086.0 MB
Apache-2.0
strict
core18
vmauth is a simple auth proxy, router and load balancer for VictoriaMetrics
It reads auth credentials from
Quick start
Just download
After that vmauth starts accepting HTTP requests on port
The auth config can be reloaded via the following ways:
* By passing
* By querying
* By specifying -configCheckInterval command-line flag to the interval between config re-reads. For example,
See how vmauth used in docker-compose env at https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/README.md#victoriametrics-cluster.
Pass
Feel free contacting us if you need customized auth proxy for VictoriaMetrics with the support of LDAP, SSO, RBAC, SAML, accounting and rate limiting such as https://docs.victoriametrics.com/vmgateway.html .
Authorization http header (Basic Auth, Bearer token and InfluxDB authorization is supported), matches them against configs pointed by -auth.config command-line flag and proxies incoming HTTP requests to the configured per-user url_prefix on successful match. The -auth.config can point to either local file or to http url.Quick start
Just download
vmutils-* archive from releases page, unpack it and pass the following flag to vmauth binary in order to start authorizing and routing requests:/path/to/vmauth -auth.config=/path/to/auth/config.ymlAfter that vmauth starts accepting HTTP requests on port
8427 and routing them according to the provided -auth.config. The port can be modified via -httpListenAddr command-line flag.The auth config can be reloaded via the following ways:
* By passing
SIGHUP signal to vmauth.* By querying
/-/reload http endpoint. This endpoint can be protected with -reloadAuthKey command-line flag. See security docs for more details.* By specifying -configCheckInterval command-line flag to the interval between config re-reads. For example,
-configCheckInterval=5s will re-read the config and apply new changes every 5 seconds.See how vmauth used in docker-compose env at https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/deployment/docker/README.md#victoriametrics-cluster.
Pass
-help to vmauth in order to see all the supported command-line flags with their descriptions.Feel free contacting us if you need customized auth proxy for VictoriaMetrics with the support of LDAP, SSO, RBAC, SAML, accounting and rate limiting such as https://docs.victoriametrics.com/vmgateway.html .
Update History
v1.107.0 (8)13 Dec 2025, 09:47 UTC
21 Feb 2024, 13:16 UTC
9 Dec 2024, 16:05 UTC
13 Dec 2025, 09:47 UTC
