I am creating more than 20 IAM users and I want to enable virtual MFA device for them. Is there any way I can do it at once for all of them or any way to automate this task ? I want to make it mandatory for all IAM users to use MFA and without setting it up they can't proceed.
My solution to this is a two step activation process for new users:
Users who don't update their MFA will be able to do... nothing. When they complain, send them the reminder of how to update their MFA. When they come back with OK, I've done it, run the #2 script.
What about the following page, seems to answer your problem: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_cliapi.html