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