Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 487 Bytes

multiple-gcloud-accounts.md

File metadata and controls

20 lines (16 loc) · 487 Bytes

Switching between gcloud accounts

I have two different Google Cloud accounts active at the moment. Here's how to list them with gcloud auth list:

% gcloud auth list
    Credentialed Accounts
ACTIVE  ACCOUNT
        [email protected]
*       [email protected]

To set the active account, run:
    $ gcloud config set account `ACCOUNT`

And to switch between them with gcloud config set account:

% gcloud config set account [email protected]
Updated property [core/account].