Automated user migration and management of AWS Identity and Access Management (IAM) resources

Bolaji A. Adetoye
5 min readMay 8, 2023

In this project, I created IAM user groups, IAM users, and a custom policy. I ensured that multi-factor authentication (MFA) was enforced for all the users to login to the AWS console and also enforced password change at first logon for all the IAM users with the required policies.

To begin with, what is an IAM?

AWS Identity and Access Management (IAM) is a web service that helps you securely control access to AWS resources. With IAM, you can centrally manage permissions that control which AWS resources users can access. You use IAM to control who is authenticated (signed in) and authorized (has permissions) to use resources. For further information, see the official documentation here https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html

Services and technologies used with the chosen cloud provider (AWS) on the project are Gitbash, AWS CLI, shell script, and AWS Identity and Access management.

In this project based on a real-world scenario, I acted as a Cloud Specialist with the mission to migrate users in an automated way and manage AWS IAM (Identity and Access Management) resources.

100 users needed to be migrated and have MFA (Multi-factor authentication) enabled on…

--

--

Bolaji A. Adetoye

IT Tech. Support | Aspiring MultiCloud & DevOps Engineer | AWS | Microsoft Azure | Google Cloud | Oracle Cloud