DEV Community

Farrukh Naeem
Farrukh Naeem

Posted on

ECS Fargate secrets management with AWS Parameter Store

I've got a node.js application which obviously has some secrets/configurations to be managed in a config file. I am considering the AWS Parameter Store option for passing the configuration to my Fargate Task Definitions as very nicely explained by @sagarjauhari in his third method of secret management in this post:

I am just not able to grasp the idea that how would my application running inside the container would get these secrets like db passwords etc.

Does passing the SSM secrets to the Task Definition automatically makes these secrets available inside the container? If yes, where are these and how to access them within my application?

Top comments (0)