concept

Principals, roles and trust

A role is an assumable identity. Its trust policy defines eligible principals; permission policies govern actions available to the session. Prefer temporary credentials.

Formal Syntax & Structure

aws syntaxaws
principal → trust decision → role session → permission decision

Working Example

Example Snippetaws
Fictional report reader role with a read-only permissions policy.
AWS Reference