update-login-profile
command to set a strong password for an IAM user:
enable-mfa-device
command to enable MFA for an IAM user:
delete-access-key
command to delete an IAM 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.enable_mfa
method to enable it for that user.boto3
library in Python to retrieve a list of IAM users.create_access_key
and delete_access_key
methods to generate a new access key and delete the old one.