Managing secrets in AWS Lightsail container service

0

Hello, I would like to host my backend application using the Lightsail container service using docker image and Github CI/CD (Build the image, push it to lightsail, create deployment). The application should have few secrets like RDS credentials, external services API keys etc. How can I manage those secrets? I know I can use environment variables when creating the deployment, but that doesn't seem secure, as those variables are visible as plain text in the console. That doesn't seem like the best approach.

1 Answer
0

Hi,

Take a look at AWS Secrets Manager https://docs.aws.amazon.com/secretsmanager/latest/userguide/intro.html and AWS Systems Manager Parameter Store https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-parameter-store.html. Those are services to securily store secrets.

I hope it helps.

AWS
SergioA
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions