Many different ways of doing it right?
.env file--admin-secret flagconfig.yaml entry, but this is not good for version controlexport or prepend to command@shahidhk I couldn't find a quick reference in the docs.
.env is not supported. We can add the other docs soon.
Would be nice if you could load vars from .env in config.yaml, e.g.
# config.yaml (checked in to git repo)
endpoint: https://xxxxxxxx
admin_secret: ${HASURA_ADMIN_SECRET}
# .env (not in git repo)
HASURA_ADMIN_SECRET=xxxxxxxxxxxxxxx
This has been documented here.
Most helpful comment
Would be nice if you could load vars from .env in config.yaml, e.g.