Describe the bug
when doing vault read -format=json <somepath> we get in audit log warning
Endpoint ignored these unrecognized parameters: [-format] (its in field message.response.warnings in case of our logging of audit log to ELK)
To Reproduce
Steps to reproduce the behavior:
- Run
vault read -format=json <somepath> ...
- See error in audit log
Expected behavior
no warning happens because i expect this is the correct parametr position
Environment:
- Vault Server Version (retrieve with
vault status): 2.0.3
- Vault CLI Version (retrieve with
vault version): 2.0.4
- Server Operating System/Architecture: linux/amd64
Additional info
i see that the request goes to /v1/myengine/some/path/mysecret?-format=json
Describe the bug
when doing
vault read -format=json <somepath>we get in audit log warningEndpoint ignored these unrecognized parameters: [-format](its in fieldmessage.response.warningsin case of our logging of audit log to ELK)To Reproduce
Steps to reproduce the behavior:
vault read -format=json <somepath> ...Expected behavior
no warning happens because i expect this is the correct parametr position
Environment:
vault status): 2.0.3vault version): 2.0.4Additional info
i see that the request goes to
/v1/myengine/some/path/mysecret?-format=json