Passing sensitive data to a container - Amazon Elastic Container Service

Passing sensitive data to a container

You can safely pass sensitive data, such as credentials to a database, into your container.

You can use AWS Secrets Manager or as a parameter in AWS Systems Manager Parameter Store to store the secret.

You can retrieve secrets programmatically from the application, or by using environment variables.

To start, first store the sensitive data as a secret in AWS Secrets Manager or as a parameter in AWS Systems Manager Parameter Store. Then, use one of the following ways to expose the secret to the container.