mirror of
https://github.com/hashicorp/vault.git
synced 2026-05-09 22:36:23 +02:00
Make metrics access unauthenticated when in dev mode. (#10992)
This commit is contained in:
parent
9fc412306d
commit
056dd26fa8
3
changelog/10992.txt
Normal file
3
changelog/10992.txt
Normal file
@ -0,0 +1,3 @@
|
||||
```release-note:improvement
|
||||
core: dev mode listener allows unauthenticated sys/metrics requests
|
||||
```
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user