Answer: To create a trust policy for an IAM role in Kiro, the role's trust policy must allow the q.amazonaws.com service principal with sts:AssumeRole, sts:SetSourceIdentity, and sts:TagSession permissions, and you replace with your actual Kiro user ID. Status: Confirmed Entry: tool/kiro/permissions-and-security/create-trust-policy-iam-role Revision: 1 Digest: sha256:d008f5d43af441a6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:46:16Z Last changed: 2026-11-13T03:46:16Z Last verified: 2026-11-20T13:33:50Z Next check: 2026-11-21T13:33:50Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of service principal | q.amazonaws.com | [1] | 2026-11-20 permissions | sts:AssumeRole , sts:SetSourceIdentity , and sts:TagSession | [1] | 2026-11-20 source identity placeholder | | [1] | 2026-11-20 policy version | 2012-10-17 | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Environment configuration - Sandbox - Web - Docs - Kiro". https://kiro.dev/docs/web/sandbox/environment-configuration/ Role: primary. Accessed: 2026-11-20T13:33:50Z Quote: "the role's trust policy must allow the q.amazonaws.com service principal" (Supports: service principal) Quote: "with sts:AssumeRole , sts:SetSourceIdentity , and sts:TagSession permissions" (Supports: permissions) Quote: "Replace with your actual Kiro user ID." (Supports: source identity placeholder) Quote: ""Version" : "2012-10-17"" (Supports: policy version) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 51defb2f2249c8db81edd128937bd258c794a7458ed6d4b055f116b3f9021d41 (captured 2026-11-20T13:33:47Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:33:50Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:33:50Z Last attempt: 2026-11-20T13:33:50Z Notes and limitations: Extracted automatically from a single official source (section "Creating a trust policy"). Related: https://latestn.com/tool/kiro/permissions-and-security/custom-agent-allowed-tools How do I restrict which tools a Kiro custom agent can use? https://latestn.com/tool/kiro/permissions-and-security/define-permission-rules How do I define permission rules in Kiro? https://latestn.com/tool/kiro/permissions-and-security/delegate-agent-approval How does the agent approval flow work in Kiro CLI delegate? https://latestn.com/tool/kiro/permissions-and-security/configure-bot-permissions How do I configure permissions for a Kiro Crew bot? https://latestn.com/tool/kiro/permissions-and-security/configure-iam-role-sandbox How do I configure an IAM role for the Kiro sandbox? https://latestn.com/tool/kiro/permissions-and-security/configure-tool-access How do I configure which built-in tools Kiro can access? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:46:16Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/permissions-and-security/create-trust-policy-iam-role/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/permissions-and-security/create-trust-policy-iam-role POST: https://latestn.com/dispute/tool/kiro/permissions-and-security/create-trust-policy-iam-role with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/permissions-and-security/create-trust-policy-iam-role?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a trust policy for an IAM role in Kiro? Revision 1, last verified 2026-11-20T13:33:50Z. https://latestn.com/tool/kiro/permissions-and-security/create-trust-policy-iam-role (accessed 2026-11-21T10:05:06Z). @misc{LatestN_tool_kiro_permissions_and_security_create_trust_policy_iam_role_r1, title = {How do I create a trust policy for an IAM role in Kiro?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/permissions-and-security/create-trust-policy-iam-role}}, note = {Revision 1; digest sha256:d008f5d43af441a6; last verified 2026-11-20T13:33:50Z; accessed 2026-11-21T10:05:06Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/permissions-and-security/create-trust-policy-iam-role