1 Answers
IAM role and Key Pairs are two different things.
IAM role (which gives you access to AWS services) will automatically expire and refresh credentials related to IAM. Nothing you need to do here.
Key Pairs which you use to log into the box are not rotated, and you would have to do that manually.