home / tils / til

Menu
  • GraphQL API

til: cloudrun_multiple-gcloud-accounts.md

This data as json

path topic title url body html shot created created_utc updated updated_utc shot_hash slug
cloudrun_multiple-gcloud-accounts.md cloudrun Switching between gcloud accounts https://github.com/simonw/til/blob/main/cloudrun/multiple-gcloud-accounts.md 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]. ``` <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> <Binary: 50,173 bytes> 2021-05-18T14:35:37-07:00 2021-05-18T21:35:37+00:00 2021-09-23T11:42:26-07:00 2021-09-23T18:42:26+00:00 be7b6208a2e3f8d86967eb00019c5db0 multiple-gcloud-accounts
Powered by Datasette · How this site works · Code of conduct