Using Console
Using CLI
Using Python
GOOGLE_APPLICATION_CREDENTIALS
environment variable to the path of your service account key file. You can create a service account and download the key file from the GCP console.google-cloud-storage
library to get a list of all buckets in your project.allAuthenticatedUsers
role from the roles/storage.objectViewer
role.