Created
January 14, 2021 05:25
-
-
Save mr-pascal/82b39f3448c78c70160de8d19a4605e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## create-sa-key.sh | |
#### Variables | |
SERVICE_ACCOUNT_ID="customer-1" | |
PROJECT_ID="my-medium-demo-project-299218" | |
#### | |
### Create private key for service account | |
gcloud iam service-accounts keys create ~/key.json \ | |
--iam-account "$SERVICE_ACCOUNT_ID@$PROJECT_ID.iam.gserviceaccount.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment