AppSync GraphQL APIs should not use API keys for authentication

Description

Use approved authorization mechanisms for your AWS AppSync GraphQL APIs

An API key is a static value embedded in your application, generated by the AWS AppSync service upon creating an unauthenticated GraphQL endpoint. If this API key is exposed, your endpoint can be accessed without authorization. For applications or websites that are not intended for public access, it is advisable to use alternative authentication methods instead of an API key.

Remediation

Follow the Configuring authorization and authentication to secure your GraphQL APIs documentation to learn how to configure GraphQL API authorization types.

PREVIEWING: rtrieu/product-analytics-ui-changes