update-login-profile
command to enforce a strong password policy for IAM users:
enable-mfa-device
command to enable MFA for IAM users:
create-access-key
command to generate a new access key for an IAM user:
delete-access-key
command to delete the old access key:
boto3
library in Python to retrieve a list of IAM users.update_login_profile
method to force a password reset for that user.boto3
library in Python to retrieve a list of IAM users.list_mfa_devices
method.enable_mfa
method to enable it for the user.boto3
library in Python to retrieve a list of IAM users.list_access_keys
method.delete_access_key
method to remove them.