Secrets Manager lambda call get_secret_value couldn't connect to endpoint URL
Endpointconnectionerror while retrieving secret using Lambda function.
When tried to access using the endpoint URL directly via web browser, got "<UnknownOperationException/>" (https://docs.aws.amazon.com/general/latest/gr/asm.html)
Checked AWS service health dashboard - no services are down as of now.
See the code below: client = session.client(service_name = "secretsmanager", region_name = region_name) get_secret_value_response = client.get_secret_value(SecretId = secret_name)
Is the Lambda VPC enabled? If yes, have you created a VPC endpoint for Secrets Manager in the VPC - https://docs.aws.amazon.com/secretsmanager/latest/userguide/vpc-endpoint-overview.html
If you haven't enabled a VPC endpoint, is there a NAT Gateway configured on the VPC?
Secrets Manager lambda call get_secret_value couldn't connect to endpoint URLasked a month ago
Using MSK as trigger to a Lambda with SASL/SCRAM Authenticationasked 2 months ago
Could not connect to the endpoint URL: "https://s3.local.amazonaws.com/"asked a year ago
VPC Endpoint access via Lambda isn't filterable by PolicyAccepted Answerasked 2 years ago
Do we need Lambda extensions for accessing AWS Secrets Manager ?asked 2 months ago
How do I allow EC2 Agent to retrieve Secrets from Secret Manager when using CodeDeploy?asked 19 days ago
Lambda Function URL /ping endpointasked 2 months ago
Rotation lambda timing out but using Secrets Manager VPC Endpointasked 2 years ago
Getting secret from Lambda times out when attached to VPC subnetasked 4 years ago
Error retrieving a secret value from secrets managerasked 2 months ago