aws wafv2 create-api-key
Creates an API key that contains a set of token domains. AWS CLI reference
2 options Its page in the AWS CLI reference
Options
--scopeSpecifies whether this is for a global resource type, such as a Amazon CloudFront distribution.--token-domainsThe client application domains that you want to use this API key for.