iot:CreateKeysAndCertificate is a Write access-level action in the iot service. Grants permission to create a 2048 bit RSA key pair and issues an X.509 certificate using the issued public key
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:CreateKeysAndCertificate. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowIotCreateKeysAndCertificate",
"Effect": "Allow",
"Action": "iot:CreateKeysAndCertificate",
"Resource": "*"
}
]
}