GoogleCloudPlatform / gsutil

A command line tool for interacting with cloud storage services.
Apache License 2.0
864 stars 331 forks source link

Question: does command gsutil support local testing with STORAGE_EMULATOR_HOST env #1740

Open ducquangkstn opened 10 months ago

ducquangkstn commented 10 months ago

In https://cloud.google.com/go/docs/reference/cloud.google.com/go/storage/latest. they states that you can use STORAGE_EMULATOR_HOST to point to your local env.

Does gsutil suport this env? or do we have any way to customize the endpoint URL

export STORAGE_EMULATOR_HOST=localhost:4443
gsutil -d ls

Note that aws cli can specify endpoint by aws s3 ls --endpoint-url=xxxxx