add docs for jwt_secret & enable_console env (#646)

This commit is contained in:
Utkarsh Gupta 2018-10-04 20:05:13 +05:30 committed by Shahidh K Muhammed
parent 1e8e440bbc
commit 300684f2dc

View File

@ -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.