DEV Community

Discussion on: IAM Credentials Rotation Automation with Step Functions

Collapse
 
zachjonesnoel profile image
Jones Zachariah Noel

@megaproaktiv and @nthienan yep good question, in this example I'm making an assumption that the credentials would be pulled in always from Secrets Manager not from external sources like GitHub secrets or anything such. So whenever the IAM credentials are updated the application only refers to the key defined in Secrets Manager and it gets the latest credentials.

That's why added a SES step in the end to notify admins whenever it is changed. You could have a Lambda fn or SNS which can notify or update external systems that IAM creds are updated.

Does that answer your question?