Difference between revisions of "Gsutil config -r"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
<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"... | + | Backing up existing config file "[[$HOME/.boto]]" to "$HOME/.boto.bak"... |
This command will create a boto config file at $HOME/.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 |
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: