AppSync GraphQL APIs should not use API keys for authentication

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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.