mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
add docs for jwt_secret & enable_console env (#646)
This commit is contained in:
parent
1e8e440bbc
commit
300684f2dc
@ -85,6 +85,14 @@ These are the environment variables which are available:
|
|||||||
|
|
||||||
HASURA_GRAPHQL_CORS_DOMAIN The domain, including sheme and port, to allow CORS for
|
HASURA_GRAPHQL_CORS_DOMAIN The domain, including sheme and port, to allow CORS for
|
||||||
|
|
||||||
|
HASURA_GRAPHQL_JWT_SECRET The JSON containing type and the JWK used for
|
||||||
|
verifying. e.g: `{"type": "HS256", "key":
|
||||||
|
"<your-hmac-shared-secret>"}`,`{"type": "RS256",
|
||||||
|
"key": "<your-PEM-RSA-public-key>"}
|
||||||
|
Enable JWT mode, the value of which is a JSON
|
||||||
|
|
||||||
|
HASURA_GRAPHQL_ENABLE_CONSOLE Enable API console. It is served at '/' and '/console'
|
||||||
|
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
When the equivalent flags for environment variables are used, the flags will take precedence.
|
When the equivalent flags for environment variables are used, the flags will take precedence.
|
||||||
|
Loading…
Reference in New Issue
Block a user