A cross-account IAM role is an AWS Identity and Access Management role that lets a principal from one AWS account assume a role in another account. The role’s trust policy specifies which principals may assume it; its permissions determine what they can do. AWS Security Token Service (STS) issues temporary credentials for the resulting session.
This mechanism is commonly used for vendor integrations and shared services, but a trusted external identity can become a pivot if its credentials are misused or the role grants excessive access. Defenses include narrowly scoped trust and permissions, reviewing and removing obsolete trust relationships, and monitoring role assumptions with CloudTrail. Where appropriate, an external ID can help reduce confused-deputy risk, but it does not replace least privilege or monitoring.


