Difference between revisions of "Gsutil config"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
https://cloud.google.com/storage/docs/gsutil/commands/config
 
* <code>[[gsutil config --help]]</code>
 
* <code>[[gsutil config --help]]</code>
  
Line 13: Line 14:
  
 
  [[gsutil]] config
 
  [[gsutil]] config
  This command will create a boto config file at /Users/your_user/[[.boto]]
+
  This command will create a boto config file at [[$HOME/.boto]]
 
  containing your credentials, based on your responses to the following
 
  containing your credentials, based on your responses to the following
 
  questions.
 
  questions.
Line 34: Line 35:
 
* <code>[[gsutil config --help]]</code>
 
* <code>[[gsutil config --help]]</code>
 
* <code>[[~/.kube/config]]</code>
 
* <code>[[~/.kube/config]]</code>
 +
* <code>[[$HOME/.boto]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 08:39, 1 August 2022

https://cloud.google.com/storage/docs/gsutil/commands/config




gsutil config
This command will create a boto config file at $HOME/.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[edit]

See also[edit]

Advertising: