To reach AWS Secrets Manager from your Lambda function while operating within a VPC, you need to configure the following:
VPC Configuration: Configure your VPC with the appropriate subnets, security groups, and route tables.
Lambda Function: Ensure that your Lambda function is configured to operate within the VPC.
AWS Secrets Manager VPC Endpoint: Create an AWS Secrets Manager VPC endpoint within your VPC.
Security Group Rules: Configure security group rules to allow your Lambda function to communicate with the AWS Secrets Manager VPC endpoint.
Once you have configured these components, your Lambda function will be able to reach AWS Secrets Manager securely within the VPC.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-21 01:21:54 +0000
Seen: 15 times
Last updated: May 21 '23