Cross-Account IAM Role Delegation for Vendors
Short answer
A Create an IAM role in the company’s account to delegate access to the vendor’s IAM role.
Question
Key Takeaways
The core concept is role assumption; the common trap is creating long-lived user credentials which violate least privilege and security best practices.
This question tests secure cross-account access using IAM roles to allow an external vendor to assume permissions without direct credentials.
Common mistake: Candidates often choose option B (IAM User) because it seems simpler, but it requires sharing static credentials or passwords, which is less secure than temporary session tokens from a role.
Expert Analysis
Why the Answer Is Correct
Option A is the correct answer because AWS IAM Roles are designed specifically for cross-account delegation. By creating a role in the company's account with a trust policy that allows the vendor's account ID to assume it, the vendor can obtain temporary security credentials. This adheres to the principle of least privilege and avoids the need to share long-term credentials like passwords or access keys.
Why the Other Options Are Wrong
Option B creates an IAM User, which implies long-term credentials (passwords/access keys). Sharing these with an external vendor is a significant security risk compared to short-lived role sessions. Option C is invalid because you cannot add users from another account directly into a group in your own account; groups only contain local users. Option D mentions permission boundaries, which limit what a user can do but do not facilitate cross-account access or trust relationships.
Community Comment Notes
Community consensus strongly supports Option A. As Mikado211 noted, "When you have somebody from another account who needs a resource in your account - create a role to access to this account." Salilgen provided the official documentation link confirming this scenario. JA2018 emphasized that roles adhere to least privilege better than users by avoiding direct login credentials.
Official Reference
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_third-party.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always look for 'cross-account' or 'external entity' scenarios. The immediate pattern match should be IAM Role with a Trust Policy. Avoid IAM Users unless the entity is internal and requires persistent console/API access.
Frequently Asked Questions
Why can't I just add the vendor's user to my group?
Is an IAM User ever safe for vendors?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 6 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 6
-
Mikado211 👍 7 Answered AWhen you have somebody from another account who needs a resource in your account - create a role to access to this account - allow the remote account to asume the role.
-
Scheldon 👍 2 Answered AAnswerA I would go with option A
-
JA2018 👍 1 Answered ALeast privilege principle: Using an IAM role instead of a user adheres to the least privilege principle as it only grants the vendor access to specific actions needed for their task, not full account access like a user would have. No direct access to the company account: By delegating access through a role, the vendor's IAM user in their own account does not need to have direct login credentials to the company's AWS account, enhancing security. Granular control: IAM policies attached to the role can be carefully crafted to provide only the necessary permissions for the vendor's automated tool, limiting potential damage in case of unauthorized access
-
Salilgen 👍 1 Answered Ahttps://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_common-scenarios_third-party.html
-
Andy_09 👍 7Option A looks ok
Show 1 more comment
-
osmk 👍 6 Answered AQuestion #222
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →