mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Make metrics access unauthenticated when in dev mode. (#10992)
This commit is contained in:
@@ -942,6 +942,7 @@ func (c *ServerCommand) Run(args []string) int {
|
||||
if c.flagDevListenAddr != "" {
|
||||
config.Listeners[0].Address = c.flagDevListenAddr
|
||||
}
|
||||
config.Listeners[0].Telemetry.UnauthenticatedMetricsAccess = true
|
||||
}
|
||||
|
||||
parsedConfig, err := c.parseConfig()
|
||||
|
||||
Reference in New Issue
Block a user