Difference between revisions of "Gcloud config set account"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[gcloud auth activate-service-account]] --key-file=your_key_file_name.json | [[gcloud auth activate-service-account]] --key-file=your_key_file_name.json | ||
− | + | == Example == | |
gcloud config set account your_user@your_domain.[[iam.gserviceaccount.com]] | gcloud config set account your_user@your_domain.[[iam.gserviceaccount.com]] | ||
Updated property [core/account]. | Updated property [core/account]. |
Revision as of 14:09, 27 September 2022
gcloud config set account YOURACCOUNT gcloud auth activate-service-account --key-file=your_key_file_name.json
Example
gcloud config set account your_user@your_domain.iam.gserviceaccount.com Updated property [core/account].
Verify: gcloud auth list
Related
See also
Advertising: