gsutil config -r

From wikieduonline
Revision as of 13:36, 21 November 2022 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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: