iot:ListPrincipalPolicies

List

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

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

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": "*"
    }
  ]
}

Related actions in iot

View all iot actions →