File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,19 @@ source "${PYTHON_VENV}/bin/activate"
10
10
cd $WORKSPACE /analytics-tools/snowflake
11
11
make requirements
12
12
13
+ python3 secrets-manager.py -w -n analytics-secure/snowflake/rsa_key_snowflake_task_automation_user.p8 -v rsa_key_snowflake_task_automation_user
14
+ python3 secrets-manager.py -w -n analytics-secure/snowflake/rsa_key_passphrase_snowflake_task_automation_user -v rsa_key_passphrase_snowflake_task_automation_user
15
+
16
+
17
+
13
18
python collect-metrics.py \
14
19
--metric_name $METRIC_NAME \
15
- --key_path $WORKSPACE /analytics-secure/snowflake/rsa_key_snowflake_task_automation_user.p8 \
16
- --passphrase_path $WORKSPACE /analytics-secure/snowflake/rsa_key_passphrase_snowflake_task_automation_user \
17
20
--automation_user $SNOWFLAKE_USER \
18
21
--account $SNOWFLAKE_ACCOUNT \
19
- --warehouse $SNOWFLAKE_WAREHOUSE
22
+ --warehouse $SNOWFLAKE_WAREHOUSE \
23
+ --key_file " $( cat " rsa_key_snowflake_task_automation_user" ) " \
24
+ --passphrase_file " $( cat " rsa_key_passphrase_snowflake_task_automation_user" ) "
25
+
26
+
27
+ rm rsa_key_snowflake_task_automation_user
28
+ rm rsa_key_passphrase_snowflake_task_automation_user
You can’t perform that action at this time.
0 commit comments