Difference between revisions of "Gcloud projects list"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 26: Line 26:
 
== Related ==
 
== Related ==
 
* [[Google Cloud projects]]
 
* [[Google Cloud projects]]
* [[az project list]]
+
* [[az projects list]]
  
 
== See also ==
 
== See also ==

Revision as of 03:35, 17 March 2022

https://cloud.google.com/sdk/gcloud/reference/projects

gcloud projects list
PROJECT_ID            NAME           PROJECT_NUMBER
your-projectname-328717  YourName  660007759999

Errors not authenticated

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

Advertising: