Difference between revisions of "Google Cloud Service account"

From wikieduonline
Jump to navigation Jump to search
Line 9: Line 9:
 
Create login keys for service account:
 
Create login keys for service account:
 
* <code>[[gcloud iam service-accounts keys create]]</code>
 
* <code>[[gcloud iam service-accounts keys create]]</code>
 +
:See: <code>[[your_key_file_name.json]]</code>,    "type": "[[service_account]]"
  
 
Login into a service account using generated keys:
 
Login into a service account using generated keys:
 
* <code>[[gcloud auth activate-service-account]] --key-file=[[your_key_file_name.json]]</code>
 
* <code>[[gcloud auth activate-service-account]] --key-file=[[your_key_file_name.json]]</code>
  
 
[[your_key_file_name.json]]
 
  "type": "[[service_account]]"
 
  
 
== Commands ==
 
== Commands ==

Revision as of 14:01, 24 November 2022

Advertising: