wafv2:CreateAPIKey

Write

wafv2:CreateAPIKey is a Write access-level action in the wafv2 service. Grants permission to create an API key for use in the integration of the CAPTCHA API in your JavaScript client applications

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 wafv2:CreateAPIKey. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWafv2CreateAPIKey",
      "Effect": "Allow",
      "Action": "wafv2:CreateAPIKey",
      "Resource": "*"
    }
  ]
}

Related actions in wafv2

View all wafv2 actions →