Skip to content

Instantly share code, notes, and snippets.

@res0nat0r
Last active October 11, 2021 23:01
Show Gist options
  • Select an option

  • Save res0nat0r/f7b35546521ed424d36035bcd1a836b2 to your computer and use it in GitHub Desktop.

Select an option

Save res0nat0r/f7b35546521ed424d36035bcd1a836b2 to your computer and use it in GitHub Desktop.
Delete virtual MFA device from AWS account with awscli
aws iam deactivate-mfa-device --user-name [email protected] --serial-number \
  arn:aws:iam::12345:mfa/user\@example.com

aws iam delete-virtual-mfa-device --serial-number arn:aws:iam::12345:mfa/user\@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment