What are IAM roles and how are they used in AWS? 

I remember getting stuck when someone asked me how AWS services communicate securely without sharing passwords. At that point, I…