Difference between revisions of "Gcloud config set account"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
* <code>[[gcloud container clusters get-credentials]]</code> | * <code>[[gcloud container clusters get-credentials]]</code> | ||
* <code>[[$HOME/.config/gcloud/]]</code> | * <code>[[$HOME/.config/gcloud/]]</code> | ||
+ | * <code>[[gcloud iam service-accounts keys create]]</code> | ||
== See also == | == See also == |
Latest revision as of 04:55, 3 November 2022
gcloud config set account YOURACCOUNT Updated property [core/account].
gcloud auth activate-service-account --key-file=your_key_file_name.json
Example[edit]
gcloud config set account your_user@your_domain.iam.gserviceaccount.com Updated property [core/account].
Verify: gcloud auth list
Related[edit]
gcloud auth list
gcloud container clusters get-credentials
$HOME/.config/gcloud/
gcloud iam service-accounts keys create
See also[edit]
gcloud config set
: [account | compute | project | disable prompts
]gcloud config
[set | list | get-value | configurations | --help
],~/.config/gcloud/, gcloud config set account
Advertising: