til: cloudrun_multiple-gcloud-accounts.md
- path
-
cloudrun_multiple-gcloud-accounts.md
- topic
-
cloudrun
- title
-
Switching between gcloud accounts
- body
-
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 simon@example.com * me@gmail.com 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 me@gmail.com Updated property [core/account]. ```
- html
-
<p>I have two different Google Cloud accounts active at the moment. Here's how to list them with <code>gcloud auth list</code>:</p> <pre><code>% gcloud auth list Credentialed Accounts ACTIVE ACCOUNT simon@example.com * me@gmail.com To set the active account, run: $ gcloud config set account `ACCOUNT` </code></pre> <p>And to switch between them with <code>gcloud config set account</code>:</p> <pre><code>% gcloud config set account me@gmail.com Updated property [core/account]. </code></pre>
- created
-
2021-05-18T14:35:37-07:00
-
created_
utc -
2021-05-18T21:35:37+00:00
- updated
-
2021-09-23T11:42:26-07:00
-
updated_
utc -
2021-09-23T18:42:26+00:00
-
shot_
hash -
be7b6208a2e3f8d86967eb00019c5db0
- slug
-
multiple-gcloud-accounts