diff --git a/make_sts.sh b/make_sts.sh index 727e95c..e3a18f0 100644 --- a/make_sts.sh +++ b/make_sts.sh @@ -5,6 +5,7 @@ gcloud services enable storagetransfer.googleapis.com --project="${PROJECT_ID}" # Create the Storage Transfer service agent on first use and show its email curl -s \ + -H "X-Goog-User-Project: ${PROJECT_ID}" \ -H "Authorization: Bearer $(gcloud auth print-access-token)" \ "https://storagetransfer.googleapis.com/v1/googleServiceAccounts/${PROJECT_ID}"