Google Cloud Platform

How to login logout from an account on gcloud

Changing project using gcloud CLI

1)To make sure you are authenticated with the correct account, type the following command:

gcloud auth list

account 2

2)To shift(change) to the project's account if not:

gcloud config set account ACCOUNT

3)Depending on the chosen account, the project list will be different, to check the project list, type the following command:

gcloud projects list

4)Switch to the intended project:

gcloud config set project PROJECT NAME