Skip to content

Commit 9e3e481

Browse files
committed
add secret
1 parent 701f4f0 commit 9e3e481

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/deploy_to_snowflake.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ jobs:
2020
SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }}
2121
SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
2222
SNOWFLAKE_ROLE: ${{ secrets.SNOWFLAKE_ROLE }}
23-
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}
23+
SNOWFLAKE_WAREHOUSE: ${{ secrets.SNOWFLAKE_WAREHOUSE }}
24+
TITAN_VAR_SALESFORCE_API_KEY: ${{ secrets.SALESFORCE_API_KEY }}

infrastructure/titan.yml

+6
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ warehouses:
6161
owner: SYSADMIN
6262

6363

64+
secrets:
65+
- name: salesforce_api_key
66+
secret_type: GENERIC_STRING
67+
secret_string: "{{ var.salesforce_api_key }}"
68+
comment: Salesforce API key
69+
owner: SYSADMIN
6470

6571
grants:
6672
- GRANT USAGE ON WAREHOUSE hedge_fund_data_eng_wh TO ROLE hedge_fund_data_eng

0 commit comments

Comments
 (0)