iot:ListPrincipalPolicies is a List access-level action in the iot service. Grants permission to list the policies attached to the specified principal. If you use an Amazon Cognito identity, the ID needs to be in Amazon Cognito Identity format
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows iot:ListPrincipalPolicies. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotListPrincipalPolicies",
"Effect": "Allow",
"Action": "iot:ListPrincipalPolicies",
"Resource": "*"
}
]
}