Skip to content

Commit

Permalink
Merge pull request #1701 from edx/katebygrace/user-retirement-status-…
Browse files Browse the repository at this point in the history
…secrets

chore: replace analytics w calls to secretsmanager
  • Loading branch information
katebygrace authored Nov 27, 2023
2 parents 036f7ac + ba964ba commit 22954ea
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dataeng/resources/snowflake-user-retirement-status-cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ source "${PYTHON_VENV}/bin/activate"
cd $WORKSPACE/analytics-tools/snowflake
make requirements

source secrets-manager.sh analytics-secure/job-configs/SNOWFLAKE_USER_RETIREMENT_STATUS_CLEANUP_JOB_EXTRA_VARS KEY_PATH
source secrets-manager.sh analytics-secure/job-configs/SNOWFLAKE_USER_RETIREMENT_STATUS_CLEANUP_JOB_EXTRA_VARS PASSPHRASE_PATH
source secrets-manager.sh analytics-secure/job-configs/SNOWFLAKE_USER_RETIREMENT_STATUS_CLEANUP_JOB_EXTRA_VARS USER
source secrets-manager.sh analytics-secure/job-configs/SNOWFLAKE_USER_RETIREMENT_STATUS_CLEANUP_JOB_EXTRA_VARS ACCOUNT

python retirement_cleanup.py \
--key_path $WORKSPACE/analytics-secure/$KEY_PATH \
--passphrase_path $WORKSPACE/analytics-secure/$PASSPHRASE_PATH \
Expand Down

0 comments on commit 22954ea

Please sign in to comment.