You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The output of vault status differs depending on the format selected.
For instance, vault status -format=table has the following HA output:
HA Enabled true
HA Cluster https://10.10.99.20:8201
HA Mode active
However those three keys are missing form vault status -format=json.
To Reproduce
Steps to reproduce the behavior:
Execute vault status -format=json
Execute vault status -format=table
Notice how the key and value pairs are not the same
Expected behavior
I expect to be able to get the same information when I execute vault status -format=json as when I execute vault status -format=table.
Environment:
Vault Server Version (retrieve with vault status): 1.4.2
Vault CLI Version (retrieve with vault version): Vault v1.4.2
Hi @jamiegwatkin, We only display the relevant fields for "table" format. I've added the expected differences in the vault status documentation #19361.
Describe the bug
The output of
vault status
differs depending on the format selected.For instance,
vault status -format=table
has the following HA output:However those three keys are missing form
vault status -format=json
.To Reproduce
Steps to reproduce the behavior:
vault status -format=json
vault status -format=table
Expected behavior
I expect to be able to get the same information when I execute
vault status -format=json
as when I executevault status -format=table
.Environment:
vault status
): 1.4.2vault version
): Vault v1.4.2The text was updated successfully, but these errors were encountered: