Difference between revisions of "Gsutil config -r"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{gsutil config}} * {{gsutil}} Category:GCP") |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | <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 == | ||
+ | * <code>[[$HOME/.boto]]</code> | ||
== See also == | == See also == |
Latest revision as of 13:36, 21 November 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[edit]
See also[edit]
Advertising: