Skip to content

Commit

Permalink
[Backport 1.6.latest] [ADAP-851] remove some connection fields that m…
Browse files Browse the repository at this point in the history
…ay be sensitive user information … (#903)

* remove some connection fields that may be sensitive user information that we don't want showing up in dbt debug commands (#901)

(cherry picked from commit 6e7c0fc)

* changelog

---------

Co-authored-by: Matthew McKnight <[email protected]>
Co-authored-by: Matthew McKnight <[email protected]>
  • Loading branch information
3 people authored Aug 30, 2023
1 parent bd1e3f2 commit 7e93f1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230828-155753.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: remove senesitive creds from dbt debug stdout
time: 2023-08-28T15:57:53.641134-05:00
custom:
Author: McKnight-42
Issue: "900"
3 changes: 0 additions & 3 deletions dbt/adapters/bigquery/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,9 @@ def _connection_keys(self):
"job_creation_timeout_seconds",
"job_execution_timeout_seconds",
"keyfile",
"keyfile_json",
"timeout_seconds",
"token",
"refresh_token",
"client_id",
"client_secret",
"token_uri",
"dataproc_region",
"dataproc_cluster_name",
Expand Down

0 comments on commit 7e93f1c

Please sign in to comment.