Secrets in AWS ECS Fargate

June 30, 2019

There are many ways to use ‘secrets’ in ECS and ECS Fargate. Most of the time they are exposed using Environment variables, because a few years ago this was the only easy option. Today we have two improved options. You could add a tool to your docker container which retrieves and decrypts your secrets before parsing them to the application. The other one is to embed the retrieval and decryption in the application. Both approaches are covered in this blog post.

I published this blog post when I was part of

Read the full blog post on

Photo by Patrick Fore on Unsplash

aws cli
Martijn van Dongen
AWS Cloud Evangelist
Lage Hoek 112, 1689CP Zwaag

KVK: 77233514
VAT: NL003167220B95
Martijn van Dongen
Free Agent / AWS Cloud Architect