Awesome Open Source
Awesome Open Source


Automatic rotation of AWS profile credentials

Script rotates AWS access keys stored in the user's ~/.aws/credentials file. Selected profiles will simply get their credentials rotated. Script will make sure there is just one existing key attached to existing user or to remove one of the two existing keys. It then proceeds to create and test the new key and them replace the keys in the user's ~/.aws/credentials file for specified profiles.

Scripts for automating IAM key rotation for single user, deactivation/removal of keys in AWS account for all user based on age of the key/s (in days).


The SOFTWARE PACKAGE provided in this page is provided "as is", without any guarantee made as to its suitability or fitness for any particular use. It may contain bugs, so use of this tool is at your own risk. We take no responsibility for any damage of any sort that may unintentionally be caused through its use.


If you have any questions, drop an email to [email protected] and leave stars! :)

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Shell (232,251
Cli (15,390
Aws (11,144
Bash (7,006
Logging (3,391
S3 (1,698
Aws Cli (388
Iam (346
Key (328
Rotation (186
Aws Iam (129
Related Projects