Update Documentation to reflect new Multi-MFA per IAM User functionality on AWS.#1101
Merged
mtibben merged 5 commits into99designs:masterfrom Feb 3, 2023
Merged
Conversation
added 4 commits
December 22, 2022 14:31
…IAM_USERNAME` Due to AWS CLI not currently supporting non-username MFA Device names (hangover from pre-multi-MFA AWS, where your MFA device name would always be the same as the IAM user)
mtibben
reviewed
Dec 22, 2022
| ``` | ||
|
|
||
| Be sure to specify the `mfa_serial` for the source profile (in the above example `tom`) so that aws-vault can match the common `mfa_serial`. | ||
| For aws-vault <=v4, be sure to specify the `mfa_serial` for the source profile (in the above example `tom`) so that aws-vault can match the common `mfa_serial`. |
Member
There was a problem hiding this comment.
Hmm I don't think the version of aws-vault has any bearing on this. Specifying the mfa_serial in multiple places is required for aws-vault to determine if chaining is possible
Contributor
Author
There was a problem hiding this comment.
Sure thing, I got that from extrapolating from https://github.com/99designs/aws-vault/pull/1101/files/a03c62bdcff2a324adb364001900fd4a9f06ae8b#diff-58a825c70bccfbe691d7ddbddb133275f4f657de6aeb4a502fa9fce279f8bf8dR414, but I can remove the changes to this line if useful.
Contributor
Author
There was a problem hiding this comment.
Ok, reverted.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #1100
I've gotten AWS Vault to work using a Yubikey and a virtual TOTP device, using AWS' new feature for multiple MFA devices. I've updated the documentation to be consistent with this new capability, and have explained how to get both a Yubikey and a Virtual TOTP device working with the same IAM User.