From 858200285978558e551e1fe9f21b04c6a150ade2 Mon Sep 17 00:00:00 2001 From: Anders Swanson Date: Wed, 18 Dec 2024 21:34:06 -0500 Subject: [PATCH] rename synapse secret for env masking within dbt --- integration_tests/profiles.yml | 2 +- integration_tests/test.env.sample | 2 +- tox.ini | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_tests/profiles.yml b/integration_tests/profiles.yml index 9d98719..818d754 100644 --- a/integration_tests/profiles.yml +++ b/integration_tests/profiles.yml @@ -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 diff --git a/integration_tests/test.env.sample b/integration_tests/test.env.sample index 75427cc..9e7ab59 100644 --- a/integration_tests/test.env.sample +++ b/integration_tests/test.env.sample @@ -19,7 +19,7 @@ BIGQUERY_KEYFILE_JSON= # BIGQUERY_SCHEMA= # synapse -SYNAPSE_CLIENT_SECRET= +DBT_ENV_SECRET_SYNAPSE_CLIENT_SECRET= # local testing only # SYNAPSE_SCHEMA= diff --git a/tox.ini b/tox.ini index 0aba031..504d114 100644 --- a/tox.ini +++ b/tox.ini @@ -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]