Sharing a resource is not granting a role permissions
Why sharing a resource through AWS RAM differs from granting an identity permissions through IAM, and why a recipient can need both. · associate
AWS Resource Access Manager (AWS RAM) lets a resource owner share supported resources with other AWS accounts. The resource stays in the owning account; sharing does not copy it or transfer ownership. The share establishes which recipients can access it and which shared operations are available.
AWS Identity and Access Management (IAM) answers a different question: what may this user or role do? An identity-based policy grants permissions to an identity. Giving a role permission to request an action does not, by itself, make another account's resource available to that role.
These are complementary controls, not competing ways to do the same job. Think of RAM as the owner's sharing decision and IAM identity permissions as the caller's action permissions.
| Question | AWS RAM resource sharing | IAM identity permissions |
|---|---|---|
| Main decision | Which recipients may share use? | What may this identity do? |
| Configured around | Supported resources and recipients | Users, groups, and roles |
| Permission scope | Permitted shared operations | Allowed identity actions |
| Transfers ownership? | No | No |