Skip to content

IAM list_virtual_mfa_devices doesn't actually return documented information about mfa devices #4474

@kchoudhu

Description

@kchoudhu

Describe the issue

What we should be seeing:

        {
            'SerialNumber': 'string',
            'Base32StringSeed': b'bytes',
            'QRCodePNG': b'bytes',
            'User': {
                'Path': 'string',
                'UserName': 'string',
                'UserId': 'string',
                'Arn': 'string',
                'CreateDate': datetime(2015, 1, 1),
                'PasswordLastUsed': datetime(2015, 1, 1),
                'PermissionsBoundary': {
                    'PermissionsBoundaryType': 'PermissionsBoundaryPolicy',
                    'PermissionsBoundaryArn': 'string'
                },
                'Tags': [
                    {
                        'Key': 'string',
                        'Value': 'string'
                    },
                ]
            },
            'EnableDate': datetime(2015, 1, 1),
            'Tags': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ]
        },

What we are actually seeing:

        {
            "SerialNumber": ,
            "User": {
                "Path":,
                "UserName": ,
                "UserId": ,
                "Arn": ,
                "CreateDate": ,
                "PasswordLastUsed": 
            },
            "EnableDate": 
        },

I've got a workaround, but it would be nice if behavior and documentation matched up. Thank you!

Links

https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/iam/client/list_virtual_mfa_devices.html

Metadata

Metadata

Labels

bugThis issue is a confirmed bug.documentationThis is a problem with documentation.p3This is a minor priority issueresponse-requestedWaiting on additional information or feedback.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions