Difference between revisions of "Gsutil config"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* <code>[[gsutil config --help]]</code>
 
* Read-only access for storage resources: <code>[[gsutil config -r]]</code>
 
* Read-only access for storage resources: <code>[[gsutil config -r]]</code>
 
* Create a token with read-write access for storage resources: <code>gsutil config -w</code>
 
* Create a token with read-write access for storage resources: <code>gsutil config -w</code>

Revision as of 19:24, 25 July 2022


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: