mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 17:02:49 +03:00
add docs for jwt_secret & enable_console env (#646)
This commit is contained in:
parent
1e8e440bbc
commit
300684f2dc
@ -71,19 +71,27 @@ These are the environment variables which are available:
|
|||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
||||||
HASURA_GRAPHQL_DATABASE_URL Postgres database URL
|
HASURA_GRAPHQL_DATABASE_URL Postgres database URL
|
||||||
<postgres/postgresql>://<user>:<password>@<host>:<port>/<db-
|
<postgres/postgresql>://<user>:<password>@<host>:<port>/<db-
|
||||||
name>
|
name>
|
||||||
Example: postgres://admin:mypass@mydomain.com:5432/mydb
|
Example: postgres://admin:mypass@mydomain.com:5432/mydb
|
||||||
|
|
||||||
HASURA_GRAPHQL_ACCESS_KEY Secret access key, required to access this instance.
|
HASURA_GRAPHQL_ACCESS_KEY Secret access key, required to access this instance.
|
||||||
If specified client needs to send 'X-Hasura-Access-Key'
|
If specified client needs to send 'X-Hasura-Access-Key'
|
||||||
header
|
header
|
||||||
|
|
||||||
HASURA_GRAPHQL_AUTH_HOOK The authentication webhook, required to authenticate
|
HASURA_GRAPHQL_AUTH_HOOK The authentication webhook, required to authenticate
|
||||||
incoming request
|
incoming request
|
||||||
|
|
||||||
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::
|
||||||
|
Loading…
Reference in New Issue
Block a user