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

Backport of Vault Status Command Differs Depending on Format into release/1.13.x #20532

Merged

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #19361 to be assessed for backporting due to the inclusion of the label backport/1.13.x.

The below text is copied from the body of the original PR.


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.


Overview of commits

Copy link
Contributor

@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.

LGTM !!

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

Successfully merging this pull request may close these issues.

2 participants