Retrieve Systems Manager parameters through Amazon ECS environment variables - Amazon Elastic Container Service
Amazon ECS allows you to inject sensitive data into your containers by storing your sensitive data in Systems Manager Parameter Store parameters and then referencing them in your container definition.