code-supply/.envrc
Andrew Bruce 8967f0ae76 Basic uploads with no visual feedback
Ended up using JSON credentials, but have added access for e.g. calling
the signblob API too.
2021-02-03 21:18:43 +00:00

7 lines
368 B
Bash

PATH_add bin
source_env operators/site_operator/.envrc
export GOOGLE_APPLICATION_CREDENTIALS="$HOME/.config/gcloud/application_default_credentials.json"
export GOOGLE_SERVICE_ACCOUNT_JSON="$(cat service-account.json)"
export GOOGLE_CLOUD_PROJECT=code-supply
export BUCKET_NAME=affable-uploads-dev
export ACCESS_KEY_ID="affable-dev@code-supply.iam.gserviceaccount.com"