An optional policy passed when assuming an IAM role to restrict the resulting temporary credentials without independent…