Difference between revisions of "Gcloud iam service-accounts keys create"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
[[gcloud iam service-accounts keys]] create FILE_NAME.json --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com | [[gcloud iam service-accounts keys]] create FILE_NAME.json --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com | ||
+ | |||
+ | |||
+ | gcloud iam service-accounts keys create FILE_NAME.json --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com outputfile[[.json]] | ||
[[gcloud iam service-accounts keys]] create service-account-file.json | [[gcloud iam service-accounts keys]] create service-account-file.json |
Revision as of 10:04, 9 August 2022
gcloud iam service-accounts keys create
gcloud iam service-accounts keys create FILE_NAME.json --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com
gcloud iam service-accounts keys create FILE_NAME.json --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com outputfile.json
gcloud iam service-accounts keys create service-account-file.json
Related
gcloud auth activate-service-account
aws iam create-access-key
export GOOGLE_APPLICATION_CREDENTIALS="/home/user/Downloads/service-account-file.json"
- GitLab CI: variables:
See also
Advertising: