Accessing Public Data Without Credentials
Overview
You can access publicly readable data through gsutil without obtaining credentials. For example, the gs://uspto-pair bucket contains a number of publicly readable objects, so you can run the following command without first obtaining credentials:
gsutil ls gs://uspto-pair/applications/0800401*
You can also download publicly readable objects.
Run the gsutil help acls
command for more details about data protection.
Configuring/Using Credentials
To obtain credentials to access protected data using gsutil, run the following command:
gcloud init
if you are using the Google Cloud SDK distribution of gsutilgsutil config
if you are using the stand-alone distribution of gsutil