Search code examples
amazon-web-servicesaws-secrets-manager

How to do pwd rotation for non AWS service credentials stored in AWS secret manager. I have api calls to do password reset


How to do pwd rotation for non AWS service credentials stored in AWS secret manager. I have api calls to do password reset.

My user account is in Microsoft Azure AD. I want to store the credentials in AWS secret manager but need to do regular rotation by making api calls and then update secret manager with the new password.


Solution

  • This process is documented here. You would enable secret rotation in Secrets Manager, and provide it with a custom AWS Lambda Function that performs your API calls.