A software startup wants to allow a third-party vendor to run automated test suites against resources in its AWS development account. The vendor requires programmatic access for a limited time, and the startup must ensure that no long-term credentials are shared or stored. Which of the following is the most secure AWS-recommended method to grant this access?
- ACreate a permanent IAM user with administrator permissions and share the access keys with the vendor.
- BGenerate and share access keys from the AWS account root user to ensure the vendor has full access to run any test.
- Create an IAM role with the necessary permissions that the vendor can assume to obtain temporary security credentials.Cevap
- DSubmit a support ticket requesting that the AWS Support team run the testing suite within the customer's environment.
Cevap
Create an IAM role with the necessary permissions that the vendor can assume to obtain temporary security credentials.
The correct answer is to create an IAM role. IAM roles allow external entities to assume permissions and receive temporary security credentials via the AWS Security Token Service (STS). This avoids the need to distribute or manage long-term secrets, fulfilling the requirement of temporary access securely.
Adım Adım Çözüm
Anahtar Kavram
Using IAM roles for temporary, cross-account, or third-party access instead of sharing long-term credentials.
Tahmini Süre:1m 15s