appsync:CreateApiKey is a Write access-level action in the appsync service. Grants permission to create a unique key that you can distribute to clients who are executing your API
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 appsync:CreateApiKey. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowAppsyncCreateApiKey",
"Effect": "Allow",
"Action": "appsync:CreateApiKey",
"Resource": "*"
}
]
}