Ended up using JSON credentials, but have added access for e.g. calling the signblob API too.
7 lines
368 B
Bash
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"
|