Skip to content
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

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

Open
kchoudhu opened this issue Mar 14, 2025 · 0 comments
Assignees
Labels
bug This issue is a confirmed bug. documentation This is a problem with documentation. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue

Comments

@kchoudhu
Copy link

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

@kchoudhu kchoudhu added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Mar 14, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK self-assigned this Apr 4, 2025
@RyanFitzSimmonsAK RyanFitzSimmonsAK added bug This issue is a confirmed bug. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. documentation This is a problem with documentation. investigating This issue is being investigated and/or work is in progress to resolve the issue. p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

2 participants