Open 0x777 opened 3 years ago
This should work v2.0-alpha.10
onwards.
Here's a link to the docker-compose.yaml to get started with.
We'll be putting all of this information on our docs soon!
Hi, can I use the bigquery connection using default service account that came from the compute engine vm? Because I don't want to issue credentials files.
Will support for mutations be added?
Absolutely need a way to use the (default) service account that Hasura was launched with instead of passing the contents of service-account.json
as an environment variable.
This could be done by either allowing the Environment Variable / Service Account Key inputs to stay empty or as a separate connection option.
The following are required by graphql-engine to connect to a BigQuery project.
Creating a service account
In google cloud's console, head to your bigquery project.
IAM and Admin > Service Accounts > Create Service Account
Give it a name, and under roles, and grant these 3 roles: 'Bigquery Metadata Viewer', 'BigQuery Data Viewer' and 'BigQuery Job User'.
Click on the created service account, Keys > ADD KEY > Create New Key > JSON > Create. This will download a service account file on your computer.
Connecting to a BigQuery project
Head to the console, in the 'Connect Existing Database' page, choose 'Environment Variable' under 'Connect Via', and fill in the necessary details: