aws-samples / aws-iam-access-key-auto-rotation

This set of CloudFormation templates and Python scripts will set up an auto-rotation function that will automatically rotate your AWS IAM User Access Keys every 90 days.
MIT No Attribution
134 stars 128 forks source link

Issue with Access keys Rotation #11

Open mamishra-prismhr opened 2 years ago

mamishra-prismhr commented 2 years ago

For testing purpose, I have set up the Rotation period to 1 (one) - leaving everything else as default (inactive period, deletion period, etc)

For my surprise it deleted the Access keys of User instead of Rotating it. I tried again and same thing happened. Instead of rotating it deleted the user's key when rotation period was set to 1.