Securing the GraphQL endpoint

To make sure that your GraphQL endpoint and the Hasura console are not publicly accessible, you need to configure an access key.

Depending on your deployment method, follow one of these guides to configure an access key, and prevent public access to your GraphQL endpoint and the Hasura console:

Note

If you’re looking at adding authentication and access control to your GraphQL API then head to Authentication / access control.