gsutil config

From wikieduonline
Revision as of 11:44, 22 June 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search


  • Read-only access for storage resources: gsutil config -r
gsutil config -w
gsutil config -f


gsutil config
This command will create a boto config file at /Users/your_user/.boto
containing your credentials, based on your responses to the following
questions.
Please navigate your browser to the following URL:
https://accounts.google.com/o/oauth2/auth? client_id=xxxxxxx.apps.googleusercontent.com&redire
In your browser you should see a page that requests you to authorize access to Google Cloud Platform APIs and Services on your behalf. After you 
approve, an authorization code will be displayed.

Enter the authorization code: 4/1AX4XfWhpwYr8pIeEm2xxxxBVjxxxxxx

Please navigate your browser to https://cloud.google.com/console#/project,
then find the project you will use, and copy the Project ID string from the
second column. Older projects do not have Project ID strings. For such projects,
 click the project and then copy the Project Number listed under that project.  

What is your project-id? 

Related

See also

Advertising: