DEV Community

Dev Power
Dev Power

Posted on

How to rotate AWS Access Keys with PowerShell

I'm still recovering from the LastPass breach. Because my IAM keys were in LP, I had to go through all of them and replace them.

As I had multiple keys to be replaced, I created a Powershell script to replace all the keys in my AWS credentials file.

The article explaining the script is here:

I hope it comes in handy to other people too.

Top comments (0)