-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,15 @@ load("//tools/gcloud:secrets.bzl", "gcloud_secret") | |
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
# You can update the credentials for testing by: | ||
# * Ensuring you have the required permissions (at time of writing, you need to request a grant). | ||
# * Go to the "Service Accounts" page on the "dataform-open-source" GCP project. | ||
# * Expand the "[email protected]" account. | ||
# * Go to the "Keys" tab, click "Add Key", and select "Create a New Key", in JSON format. | ||
# * Download the key, and run the `dataform init-creds` CLI command on the JSON. | ||
# * Copy the resulting `.df-credentials` file to here as `bigquery.json`. | ||
# * Run the "scripts/create_secret" script. | ||
# TODO(ekrekr): make this process easier, as keys invalidate themselves fairly frequently now. | ||
gcloud_secret( | ||
name = "bigquery.json", | ||
testonly = 1, | ||
|
Binary file not shown.