AWS Lambda to AWS Secrets Manager

AWS Lambda → Secrets Manager

Create an AWS Lambda function inside private subnet and access AWS Secrets Manager privately.

This CDK application demonstrates how to establish an AWS Lambda function inside a private subnet of a VPC and access AWS Secrets Manager privately using VPC endpoints.

< Back to all patterns

GitHub icon Download this pattern (.zip)

GitHub icon View this pattern on GitHub


Clone repo

git clone https://github.com/aws-samples/serverless-patterns/cd serverless-patterns/lambda-vpc-endpoints-secrets-manager-cdk-dotnet

Deploy

cdk deploy


Testing

See the GitHub repo for detailed testing instructions.

Cleanup

Delete the stack: cdk destroy.

Created by:

Pankaj Rawat

Pankaj Rawat

Pankaj Rawat is a Lead Consultant at Amazon Web Services.

Follow on LinkedIn