HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/iam/list-virtual-mfa-devices.rst
**To list virtual MFA devices**

The following ``list-virtual-mfa-devices`` command lists the virtual MFA devices that have been configured for the current account::

  aws iam list-virtual-mfa-devices

Output::

  {
    "VirtualMFADevices": [
      {
        "SerialNumber": "arn:aws:iam::123456789012:mfa/ExampleMFADevice"
      },
      {
        "SerialNumber": "arn:aws:iam::123456789012:mfa/Fred"
      }
    ]
  }

For more information, see `Using a Virtual MFA Device with AWS`_ in the *Using IAM* guide.

.. _`Using a Virtual MFA Device with AWS`: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html