Boto3: Python script to find AWS IAM access keys older than 90 days

To access AWS programmatically via CLI or api, we can use IAM access keys provided by AWS. The access key consists of an access key ID and a secret access key. We can generate these keys in the IAM console and configure these keys in our local laptop by running aws configure command. These keys … Continue reading Boto3: Python script to find AWS IAM access keys older than 90 days

BOTO3: Find users in AWS IAM with no MFA enabled

AWS IAM provides an additional layer of security for IAM users with multi factor authentication. When mfa enabled, users will be prompted to enter the authentication code, after providing the username and the password. AWS supports Virtual MFA devices, U2F security key, Hardware MFA devices etc. Virtual MFA device, especially Google Authenticator is commonly used … Continue reading BOTO3: Find users in AWS IAM with no MFA enabled