-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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-5885: Fix erroneous success message in case of two-phase MFA, and provide MFA information in table format #15428
Conversation
…nd provide MFA information in table format
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few little things, but looking good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I just have some questions that might need discussion with the devex team.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
changelog/15428.txt
Outdated
@@ -0,0 +1,3 @@ | |||
```release-note:bug | |||
auth: Fixed erroneous success message when using vault login in case of two-phase MFA, and fixed MFA information missing from table format when using vault login. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also mention removing the login information from the output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I posted a comment, otherwise LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be good to split up the changelog, but approved either way!
@@ -0,0 +1,3 @@ | |||
```release-note:bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: i think you can have multiple blocks here to make it a little easier to parse (maybe one block per thing?)
see changelog/_1622.txt
for an example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, good suggestion, I didn't see any example of this in any changelogs that I looked at, I'll make this change :)
…nd provide MFA information in table format (hashicorp#15428) * VAULT-5885: Fix erroneous success message in case of two-phase MFA, and provide MFA information in table format * VAULT-5885 Add changelog * VAULT-5885 Update changelog as per PR comments * VAULT-5885 Update changelog category to just 'auth' * VAULT-5885 Hide useless token info in two-phase MFA case * VAULT-5885 Update changelog to reflect token info now no longer present * VAULT-5885 split up changelog into three blocks
Two issues have been fixed:
Two-step MFA will now look something like this: