Using AWS Lambda with Secrets Manager
Your AWS Lambda function can interact with AWS Secrets Manager using the Secrets Manager API or any of the AWS Software Development Kits (SDKs). You can also use the AWS Parameters and Secrets Lambda Extension to retrieve and cache AWS Secrets Manager secrets in Lambda functions without using an SDK. See Use AWS Secrets Manager secrets in AWS Lambda functions for more information.