A developer is deploying a new application to Amazon Elastic Container Service
(Amazon ECS). The developer needs to securely store and retrieve different types of variables. These variables include authentication information for a remote API, the
URL for the API, and credentials. The authentication information and API URL must be available to all current and future deployed versions of the application across development, testing, and production environments.
How should the developer retrieve the variables with the FEWEST application changes?
- Update the application to retrieve the variables from AWS Systems Manager
Parameter Store. Use unique paths in Parameter Store for each variable in each environment. Store the credentials in AWS Secrets Manager in each environment. - Update the application to retrieve the variables from AWS Key Management
Service (AWS KMS). Store the API URL and credentials as unique keys for each environment. - Update the application to retrieve the variables from an encrypted file that is stored with the application. Store the API URL and credentials in unique files for each environment.
- Update the application to retrieve the variables from each of the deployed environments. Define the authentication information and API URL in the ECS
task definition as unique names during the deployment process.
Reveal Solution Next Question