hunk.code_window:                      -- HTTP compression
                        , zlib
                        , brotli
     exposed-modules:     Hasura.Prelude
                        , Hasura.Logging
                        , Hasura.EncJSON
                        , Hasura.Db
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.file_path: server/graphql-engine.cabal
hunk.type: replace
file: Securing the GraphQL endpoint
  =============================
  
  .. contents:: Table of contents
    :backlinks: none
    :depth: 1
    :local:
  
  To make sure that your GraphQL endpoint and the Hasura console are not publicly accessible, you need to
  configure an admin secret key.
  
  Depending on your deployment method, follow one of these guides to configure an admin secret key, and prevent public
  access to your GraphQL endpoint and the Hasura console:
  
  - :doc:`For Heroku <heroku/securing-graphql-endpoint>`
  - :doc:`For Docker <docker/securing-graphql-endpoint>`
  - :doc:`For Kubernetes <kubernetes/securing-graphql-endpoint>`
  
  .. note::
  
    If you're looking at adding access control rules for your data to your GraphQL API then head
    to :doc:`Authentication / access control <../auth/index>`.
  
  