Skip to content

Commit

Permalink
Refresh test credentials (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ekrekr authored Aug 15, 2024
1 parent dc5a001 commit ae85965
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test_credentials/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Binary file modified test_credentials/bigquery.json.enc
Binary file not shown.

0 comments on commit ae85965

Please sign in to comment.