about summary refs log tree commit diff
path: root/tools/monzo_ynab
diff options
context:
space:
mode:
Diffstat (limited to 'tools/monzo_ynab')
-rw-r--r--tools/monzo_ynab/.envrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/monzo_ynab/.envrc b/tools/monzo_ynab/.envrc
index 9b234477352d..f368d0b7e813 100644
--- a/tools/monzo_ynab/.envrc
+++ b/tools/monzo_ynab/.envrc
@@ -1,8 +1,8 @@
 source_up
 use_nix
-export monzo_client_id="$(pass show finance/monzo/client-id)"
-export monzo_client_secret="$(pass show finance/monzo/client-secret)"
-export ynab_personal_access_token="$(pass show finance/youneedabudget.com/personal-access-token)"
-export ynab_account_id="$(pass show finance/youneedabudget.com/personal-access-token)"
-export ynab_budget_id="$(pass show finance/youneedabudget.com/budget-id)"
+export monzo_client_id="$(jq -j '.monzo | .clientId' < ~/briefcase/secrets.json)"
+export monzo_client_secret="$(jq -j '.monzo | .clientSecret' < ~/briefcase/secrets.json)"
+export ynab_personal_access_token="$(jq -j '.ynab | .personalAccessToken' < ~/briefcase/secrets.json)"
+export ynab_account_id="$(jq -j '.ynab | .accountId' < ~/briefcase/secrets.json)"
+export ynab_budget_id="$(jq -j '.ynab | .budgetId' < ~/briefcase/secrets.json)"
 export store_path="$(pwd)"