Skip to content

Commit

Permalink
rename synapse secret for env masking within dbt
Browse files Browse the repository at this point in the history
  • Loading branch information
dataders committed Dec 19, 2024
1 parent b8eed97 commit 8582002
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 8582002

Please sign in to comment.