I've got simple app as AWS ECS. Now I want to integrate it with database (AWS RDS).
The problem is - I need to pass the RDS credentials to my docker image, eg. as environment variable in a secure way.
After some research, I found two ways:
- AWS Secrets Manager
- AWS System Manager Parameter Store
But... both of them are paid.
- Secrets Manager costs 0.40$/month for 1 secret.
- System Manager Parameter Store requires 'Customer Managed Key' which also costs 1$/month.
As a Free Tier User, for my simple app, I would rather not to pay for ONLY 'storing secrets'. So... Is there any other secure and recommended way to pass sensitive data to docker application hosted on ECS ?