Skip to content

Commit 83a57ea

Browse files
authored
Merge pull request #333 from dbt-labs/hotfix-synapse-envvar
rename synapse secret for env masking within dbt
2 parents b8eed97 + 8582002 commit 83a57ea

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

integration_tests/profiles.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ integration_tests:
5656
authentication: "{{ env_var('SYNAPSE_AUTHENTICATION') }}"
5757
tenant_id: "{{ env_var('SYNAPSE_TENANT_ID') }}"
5858
client_id: "{{ env_var('SYNAPSE_CLIENT_ID') }}"
59-
client_secret: "{{ env_var('SYNAPSE_CLIENT_SECRET') }}"
59+
client_secret: "{{ env_var('DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET') }}"
6060
schema: dbt_external_tables_integration_tests_synapse
6161
threads: 1
6262

integration_tests/test.env.sample

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BIGQUERY_KEYFILE_JSON=
1919
# BIGQUERY_SCHEMA=
2020

2121
# synapse
22-
SYNAPSE_CLIENT_SECRET=
22+
DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET=
2323
# local testing only
2424
# SYNAPSE_SCHEMA=
2525

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ passenv =
3232
SYNAPSE_AUTHENTICATION
3333
SYNAPSE_TENANT_ID
3434
SYNAPSE_CLIENT_ID
35-
SYNAPSE_CLIENT_SECRET
35+
DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET
3636

3737
# run dbt commands directly, assumes dbt is already installed in environment
3838
[testenv:dbt_integration_redshift]

0 commit comments

Comments
 (0)