Option Auses an IAM role attached to the EC2 instance profile, enabling secure and automated access to Secrets Manager. This is the recommended approach.
Option Buses IAM users, which is less secure and harder to manage.
Option Cis not practical for accessing secrets programmatically.
Option Dviolates best practices by granting direct access to the EC2 instance.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit