Skip to main content
Source Link
Dean Schulze
  • 10k
  • 25
  • 110
  • 177

Where does gcloud store its defaults?

Following this Quickstart I set a default project like this

$ gcloud config set project lfs258
Updated property [core/project].
$ gcloud config get-value project
lfs258

The project lfs258 doesn't exist on my GCP account, though, so I'm surprised that I could set it as the default. When I try to see where gcloud stores its defaults there is no .gcloud/ directory.

Where does gcloud store its defaults? kubectl stores them in .kube/config but I can't find a similar config file for gcloud.