Difference between revisions of "Gcloud iam service-accounts keys create"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
  
 
  created key [1974eb1f2d4a3569xadfaadsf] of type [json] as [your-user.json] for [your-user@your-project.[[iam.gserviceaccount.com]]]
 
  created key [1974eb1f2d4a3569xadfaadsf] of type [json] as [your-user.json] for [your-user@your-project.[[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 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
 
  
 
== Related ==
 
== Related ==

Revision as of 09:11, 22 September 2022

gcloud iam service-accounts keys create

Examples

gcloud iam service-accounts keys create --iam-account=SERVICE_ACCOUNT_NAME@PROJECT_ID.iam.gserviceaccount.com OUTPUT_FILE_NAME_WITH_CREDENTIALS.json
created key [1974eb1f2d4a3569xadfaadsf] of type [json] as [your-user.json] for [your-user@your-project.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

See also

Advertising: