Skip to content

Commit ae85965

Browse files
author
Elias Kassell
authored
Refresh test credentials (#1810)
1 parent dc5a001 commit ae85965

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

test_credentials/BUILD

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@ load("//tools/gcloud:secrets.bzl", "gcloud_secret")
22

33
package(default_visibility = ["//visibility:public"])
44

5+
# You can update the credentials for testing by:
6+
# * Ensuring you have the required permissions (at time of writing, you need to request a grant).
7+
# * Go to the "Service Accounts" page on the "dataform-open-source" GCP project.
8+
# * Expand the "dataform-testing@dataform-open-source.iam.gserviceaccount.com" account.
9+
# * Go to the "Keys" tab, click "Add Key", and select "Create a New Key", in JSON format.
10+
# * Download the key, and run the `dataform init-creds` CLI command on the JSON.
11+
# * Copy the resulting `.df-credentials` file to here as `bigquery.json`.
12+
# * Run the "scripts/create_secret" script.
13+
# TODO(ekrekr): make this process easier, as keys invalidate themselves fairly frequently now.
514
gcloud_secret(
615
name = "bigquery.json",
716
testonly = 1,

test_credentials/bigquery.json.enc

-4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)