Skip to main content

Unexpected Limitations: AWS Lambda's Inability to Directly Reference Secrets Manager and Parameter Store

·
cloud aws lambda secret-manager ecs
Hugo
Author
Hugo
DevOps Engineer in London

I was surprised to find that AWS Lambda cannot directly reference records from Secrets Manager in environment, especially considering that ECS can reference records from both Parameter Store and Secrets Manager. There are two ways to overcome this limitation in Lambda:

  1. Use the AWS API.
  2. Use a Lambda Extension to retrieve secrets from Secrets Manager.