H
Hasura CLI
Details
- Command
-
hasura - Docs
- https://hasura.io/docs/2.0/hasura-cli/overview/
Authentication
Hasura admin secret api_key discovered
env HASURA_GRAPHQL_ADMIN_SECRET For a self-hosted Hasura GraphQL Engine, set an admin secret on the server with the --admin-secret flag or HASURA_GRAPHQL_ADMIN_SECRET environment variable as documented in GraphQL Engine Server Configuration Reference and Admin Access. Then use that same secret in client requests as X-Hasura-Admin-Secret.