Difference between revisions of "Gcloud projects list"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
* <code>[[gcloud projects]] list</code> | * <code>[[gcloud projects]] list</code> | ||
+ | |||
+ | == Errors == | ||
+ | gcloud projects list | ||
+ | WARNING: Could not open the configuration file: [/your_path/[[.config/]]gcloud/configurations/config_default]. | ||
+ | ERROR: (gcloud.projects.list) You do not currently have an active account selected. | ||
+ | Please run: | ||
+ | |||
+ | $ gcloud auth login | ||
+ | |||
+ | to obtain new credentials. | ||
+ | |||
+ | If you have already logged in with a different account: | ||
+ | |||
+ | $ gcloud config set account ACCOUNT | ||
+ | |||
+ | to select an already authenticated account to use. | ||
== Related == | == Related == |
Revision as of 17:11, 28 October 2021
https://cloud.google.com/sdk/gcloud/reference/projects
gcloud projects list
Errors
gcloud projects list WARNING: Could not open the configuration file: [/your_path/.config/gcloud/configurations/config_default]. ERROR: (gcloud.projects.list) You do not currently have an active account selected. Please run: $ gcloud auth login to obtain new credentials. If you have already logged in with a different account: $ gcloud config set account ACCOUNT to select an already authenticated account to use.
Related
See also
gcloud
[config | scheduler | auth | asset | services | gcloud auth login | iam | sql | projects | container
|compute | kms
|source
],gcloud composer environments create
|build
|gcloud config set project
,gcloud source repos create
,gcloud composer environments create
,gcloud version
,gcloud --help
- Google Cloud Platform, Google Cloud organizations, Google Cloud projects, Google Cloud SDK,
gcloud, gsutil, bq
, Cloud Build, Google Cloud Operations, Google Cloud free tier, Google App Engine, Cloud Run, BigQuery, Google Secret Manager, Google Cloud Spanner, Looker, Google Cloud Deployment Manager, Google Cloud Shell, console.cloud.google.com/, Google Site Verification API, Anthos, Google Cloud IAM, Vertex AI, Google Cloud Dataflow, Google APIs, Google Cloud Registry, Google cloud role, Cloud Scheduler, Google OS Config Agent, Google Cloud Logs Explorer, Google Cloud error reporting, Google Cloud Platform timeline, GCP KMS, GCP log explorer, GCP machine families, regions, Cost sentry, Cloud Trace, AlloyDB, Cloud TPU, Google Sign-In for server-side apps, Google Cloud Setup
Advertising: