diff --git a/.changes/unreleased/Fixes-20230828-143834.yaml b/.changes/unreleased/Fixes-20230828-143834.yaml new file mode 100644 index 000000000..793b2b65c --- /dev/null +++ b/.changes/unreleased/Fixes-20230828-143834.yaml @@ -0,0 +1,6 @@ +kind: Fixes +body: remove senesitive creds from dbt debug stdout +time: 2023-08-28T14:38:34.380646-05:00 +custom: + Author: McKnight-42 + Issue: "754" diff --git a/dbt/adapters/snowflake/connections.py b/dbt/adapters/snowflake/connections.py index 3272eee55..be3477b69 100644 --- a/dbt/adapters/snowflake/connections.py +++ b/dbt/adapters/snowflake/connections.py @@ -103,6 +103,8 @@ def type(self): def unique_field(self): return self.account + # the results show up in the output of dbt debug runs, for more see.. + # https://docs.getdbt.com/guides/dbt-ecosystem/adapter-development/3-building-a-new-adapter#editing-the-connection-manager def _connection_keys(self): return ( "account", @@ -112,9 +114,7 @@ def _connection_keys(self): "role", "schema", "authenticator", - "private_key", "private_key_path", - "private_key_passphrase", "token", "oauth_client_id", "query_tag",