# Is every third-party and cross-account role protected by an external ID or condition, with an owner and an end date?

Facts read 16 Nov 2026. Page reviewed 16 Nov 2026.

Question 22 of the assessment asks: Is every third-party and cross-account role protected by an external ID or condition, with an owner and an end date? Third-party access is trust you extend outside your own controls, and an unconditioned role can be used by anyone who learns its name.

## Why it matters

Third-party access is trust you extend outside your own controls, and an unconditioned role can be used by anyone who learns its name.

## Answers and what each is worth

| Answer | Value |
| --- | --- |
| Yes, all have conditions, owners and dates | 1 |
| Some do | 0.5 |
| No or not known | 0 |

## How to check it in each cloud

- **AWS:** List roles whose trust policy names an external account, and check for sts:ExternalId or aws:PrincipalOrgID conditions.
- **Azure:** List guest users and enterprise applications with delegated permissions, and review Azure Lighthouse and partner delegated access.
- **Google Cloud:** List IAM bindings for principals outside your domain, and review Workload Identity Federation providers and who may impersonate service accounts.

## The fix

Add an external ID or condition, an owner and an expiry date to every third-party trust, and remove those without an owner. Effort: medium.

## Where it comes from

- AWS documentation IAM best practices: [Security best practices in IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html)
- NIST SP 800-53 Rev. 5 AC-3: [source](https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final)

## Related pages

- [Question 23: AI workloads, ai own identity](/questions/ai-own-identity/)
- [Question 24: AI workloads, ai tool permissions](/questions/ai-tool-permissions/)
- [Question 25: AI workloads, approved models only](/questions/approved-models-only/)

## Sources

- AWS documentation IAM best practices: https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html (read 16 Nov 2026)
- NIST SP 800-53 Rev. 5 AC-3: https://csrc.nist.gov/pubs/sp/800/53/r5/upd1/final (read 16 Nov 2026)

Last reviewed 16 Nov 2026. Canonical: https://cloudsecurityriskassessment.com/questions/third-party-access/
