Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault Status Command Differs Depending on Format #19361

Merged
merged 5 commits into from
Mar 1, 2023
Merged

Conversation

akshya96
Copy link
Contributor

Related GH issue: #9185

The issue is about getting different output values for “vault status” command depending on the format selected.

Though the output looks inconsistent, It looks like we only want to display the relevant fields for "table" format. I posted this on vault-team-sustaining to see what others think about this https://hashicorp.slack.com/archives/C0287E435NE/p1677105285284409.

Mehdi gave some input from support perspective and suggested that we document this and also have an additional flag such as: vault status -fields=all/* -format=table - ie some additional parameter that over-rides the current user based adaptive outputs in favor of consistent output to always show all related fields.

For now, I am more inclined towards documenting the expected differences as I feel this would be useful for new users to understand the output.

We can think of having an additional flag if we have more related issues/ requests regarding this in the future.

@akshya96 akshya96 requested a review from a team February 24, 2023 20:24
@akshya96 akshya96 marked this pull request as ready for review February 24, 2023 20:25
Copy link
Contributor Author

@akshya96 akshya96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleting comment from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants