This is a write up the CloudGoat scenario iam_privesc_by_key_rotation.
This is a write up the current CloudGoat scenarios.
This will go over how to install and configure Teleport.
Documentation on Teleport can be found here
Python script that checks the age of AWS IAM access keys and disabled them if they are paste the defined expiration.