Difference between revisions of "Gsutil config -r"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
<code>[[gsutil config]] -r</code> [[read-only]] access for storage resources. | <code>[[gsutil config]] -r</code> [[read-only]] access for storage resources. | ||
+ | |||
+ | Backing up existing config file "$HOME/.boto" to "$HOME/.boto.bak"... | ||
+ | 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=1234072.apps.googleusercontent.com& redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2F[[devstorage.read_only]]&access_type=offline&response_type=code | ||
+ | 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: | ||
+ | |||
+ | |||
+ | |||
== Related == | == Related == |
Revision as of 21:30, 25 July 2022
gsutil config -r
read-only access for storage resources.
Backing up existing config file "$HOME/.boto" to "$HOME/.boto.bak"... 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=1234072.apps.googleusercontent.com& redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdevstorage.read_only&access_type=offline&response_type=code 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:
Related
See also
Advertising: