Passing sensitive data to a container
You can safely pass sensitive data, such as credentials to a database, into your container. To start, first store the sensitive data as a secret in Amazon Secrets Manager or as a parameter in Amazon Systems Manager Parameter Store. Then, use one of the following ways to expose the secret to the container.