vault
vault copied to clipboard
Vault API Explorer does not send query param
Describe the bug The API Explorer does not send the query params to the server.
To Reproduce Steps to reproduce the behavior:
- Open Vault UI
- Open the console
- Type
apithenenter - Make a request to
/sys/metricswithformat=prometheus - The format is still JSON and the query is not sent. The generated cURL command does not include the parameter.
Expected behavior The param is sent.
Environment:
-
Vault Server Version (retrieve with
vault status):Key Value --- ----- [...] Initialized true Sealed false Version 1.11.3 Build Date 2022-08-26T10:27:10Z Storage Type file HA Enabled false -
Vault CLI Version (retrieve with
vault version):Vault v1.11.3 (17250b25303c6418c283c95b1d5a9c9f16174fe8), built 2022-08-26T10:27:10Z -
Server Operating System/Architecture:
Vault server configuration file(s):
storage "file" {
path = "/opt/vault"
}
listener "tcp" {
address = "0.0.0.0:8200"
x_forwarded_for_authorized_addrs = "ipv4/range,[ipv6/range]"
}
seal "awskms" {
region = "region"
kms_key_id = "key-arn"
}
ui=true
telemetry {
disable_hostname = true
}