You are deploying an application on EC2 that must call AWS APIs. What method of securely passing
credentials to the application should you use?
A.
Use AWS Identity and Access Management roles for EC2 instances.
B.
Pass API credentials to the instance using instance userdata.
C.
Embed the API credentials into your JAR files.
D.
Store API credentials as an object in Amazon Simple Storage Service.
A.
Roles is always a way to go where possible.