Skip to content

Commit

Permalink
Merge pull request #333 from dbt-labs/hotfix-synapse-envvar
Browse files Browse the repository at this point in the history
rename synapse secret for env masking within dbt
  • Loading branch information
dataders authored Dec 19, 2024
2 parents b8eed97 + 8582002 commit 83a57ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion integration_tests/profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ integration_tests:
authentication: "{{ env_var('SYNAPSE_AUTHENTICATION') }}"
tenant_id: "{{ env_var('SYNAPSE_TENANT_ID') }}"
client_id: "{{ env_var('SYNAPSE_CLIENT_ID') }}"
client_secret: "{{ env_var('SYNAPSE_CLIENT_SECRET') }}"
client_secret: "{{ env_var('DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET') }}"
schema: dbt_external_tables_integration_tests_synapse
threads: 1

Expand Down
2 changes: 1 addition & 1 deletion integration_tests/test.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ BIGQUERY_KEYFILE_JSON=
# BIGQUERY_SCHEMA=

# synapse
SYNAPSE_CLIENT_SECRET=
DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET=
# local testing only
# SYNAPSE_SCHEMA=

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ passenv =
SYNAPSE_AUTHENTICATION
SYNAPSE_TENANT_ID
SYNAPSE_CLIENT_ID
SYNAPSE_CLIENT_SECRET
DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET

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

0 comments on commit 83a57ea

Please sign in to comment.