A containerized application needs to call a third-party service using API keys. The developer needs a secure method to store the keys and provide them to the containers. Which of the following are appropriate? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Store the API keys as SecureString parameters in AWS Systems Manager Parameter Store and grant the application permission to retrieve them., Store the API keys as SecretString secrets in AWS Secrets Manager and grant the application permission to retrieve them..
Why this is the answer
Both AWS Systems Manager Parameter Store (using SecureString) and AWS Secrets Manager (using SecretString) are designed for securely storing sensitive data like API keys. By granting the application appropriate IAM permissions to retrieve these parameters or secrets, the application can access the keys at runtime without exposing them in code or configuration files. This follows the principle of least privilege and secure credential management. Storing API keys in CloudFormation templates (even base64 encoded) or as CloudFormation parameters is insecure because CloudFormation templates are often version-controlled and can be publicly accessible, exposing the keys. Hard-coding keys directly into the application image is also a significant security risk, as it embeds sensitive data directly into the artifact, making it difficult to rotate and prone to exposure if the image is compromised.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed