Join our Newsletter — 33% off our NHI Course
Home› Glossary› Governance, Ownership & Risk› IAM Trust Policy
Governance, Ownership & Risk

IAM Trust Policy

← Back to Glossary
By NHI Mgmt Group Updated November 25, 2026 Domain: Governance, Ownership & Risk

An IAM trust policy is the policy attached to a role that defines who or what can assume it. It usually specifies trusted principals and conditions for role assumption, controlling delegated access without granting the role’s permissions directly.

What IAM trust policies actually control

An IAM trust policy is the assumption side of role access. It answers a narrow but critical question, who or what may obtain the role by calling STS and satisfying the policy’s trust conditions. That makes it different from the role’s permission policy, which governs what the role can do after it is assumed.

In practice, the trust policy is where you define the boundary for delegated access. A carefully scoped trust relationship can allow one workload, account, or identity provider to assume a role without broadening the role’s own permissions. A weak trust policy can create an entry point even when the permissions attached to the role look reasonable.

Trusted principals and assumption conditions

The core elements of a trust policy are the trusted principal and any conditions that constrain assumption. The principal may be a user, role, service, federated identity provider, or another entity that is allowed to call assume-role flows. Conditions add guardrails such as source account, external ID, audience, subject, time, or context attributes, depending on the federation path.

Those conditions matter because “can assume” is not the same as “should always be able to assume.” Trust policies are often the last checkpoint before temporary credentials are issued, so a precise condition set helps prevent unintended cross-account access, confused deputy problems, and overly broad delegation.

Why trust policy design is security-sensitive

Trust policy mistakes are often more dangerous than people expect because they govern entry, not just privilege. If an attacker, partner, pipeline, or workload can satisfy the trust policy unexpectedly, they can receive temporary access that bypasses normal long-lived credential controls. That is why trust policy review is as important as permission review.

When trust is too broad, the role can become a reusable access bridge across accounts, environments, or third parties. When it is too narrow, legitimate automation or federation can fail, which often leads teams to weaken the policy later. Good design keeps the assumption path explicit, minimally permissive, and tightly bound to the intended principal and context.

How trust policies fit into delegated access and federation

Trust policies are the control point that makes role assumption useful for workload identity, cross-account access, and federated sign-in. They let organisations avoid embedding permanent credentials while still allowing approved systems to assume a role on demand. For example, federated CI/CD, partner access, and service-to-service delegation all depend on well-formed trust relationships.

That same flexibility is why trust policy quality affects the broader identity posture. A role that is easy to assume but hard to misuse is usually preferable to one protected by static secrets or ad hoc exceptions. AWS IAM Roles vs IAM Users is a useful companion reference for understanding why temporary role assumption is often safer than persistent user credentials.

For teams building policy-as-code or review workflows, AWS IAM Policies and Roles Guide and IaC identity policy checks help connect trust policy review to broader IAM policy analysis before deployment.

Trust policy review and troubleshooting cues

Trust policy problems usually show up as failed role assumption, unexpected access paths, or an assumption relationship that is broader than intended. Reviewers should look at who can assume the role, what conditions are actually enforced, and whether the trust path matches the business or automation use case. The most useful questions are often “who is trusted,” “under what conditions,” and “what happens if that trust is abused.”

Where a trust policy supports cross-account or third-party access, independent validation is especially important. A direct review of the trust statement is often more reliable than assuming that surrounding permissions or downstream guardrails will compensate for a weak assumption rule. How to review AWS cross-account trust policies for confused deputy is the most targeted reference for that review pattern.

Risk and Threat Considerations

Weak IAM trust policies can expose roles to unintended assumption, which can turn a small trust mistake into broad temporary access. The most common failure mode is overbroad principal trust or missing assumption conditions, especially in cross-account, third-party, or federated scenarios.

Failure mechanism: An attacker or unintended principal satisfies the trust relationship, assumes the role, and inherits whatever permissions the role already has.

Impact: Temporary credential issuance can enable data access, lateral movement, privilege misuse, or persistence through repeated role assumption until the trust policy is corrected.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5 provides the primary governance reference for this term.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-9 — Service Identification and AuthenticationDefines controlled role assumption for non-human actors and federated services.
AC-3 — Access EnforcementTrust policies enforce who may obtain access before permissions are exercised.
AC-6 — Least PrivilegeTrust scope should be minimized so only necessary principals can assume the role.
Recommendation — Bind role assumption to verified service or federated identities and constrain the assumption conditions. Enforce role assumption only for explicitly trusted principals and approved contexts. Minimize trusted principals and conditions so assumption rights are no broader than required.

Practitioner Guidance

Governance implication: Treat trust policies as entry-control documents, not configuration detail. The owning team should be able to explain every trusted principal and every condition in the policy, especially for cross-account access and automation paths.

What to watch for: Wildcard principals, missing context conditions, unclear third-party assumptions, and trust statements that were added to “make it work” are the patterns most worth challenging. AWS IAM Policies and Roles Guide and AWS IAM Roles vs IAM Users are useful anchors when aligning policy review with role design.

Practitioner takeaway: If you cannot clearly justify why a principal is trusted to assume a role, the trust policy is already too broad.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org