Open PaulRudin opened 2 years ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
We encountered this today, it is listed as 'future' in the admin sdk emulator support matrix, hopefully this feature is available soon.
bump.
Hey @yuchenshi, @christhompsongoogle FYI.
Any updates on this?
Hi @vizaiapp, no timeline to share on this just yet but it's still on our radar.
+cc @taeold
I think there already is support for storage emulator, it just isn't documented well in the docs.
The docs say you need to use FIREBASE_STORAGE_EMULATOR_HOST
, but you actually have to use STORAGE_EMULATOR_HOST
. (see #693 and this answer) And by doing this, I was able to use the python admin sdk to connect to the storage emulator.
If setting STORAGE_EMULATOR_HOST
works that means emulator support is now added to the storage library. We still need to map FIREBASE_STORAGE_EMULATOR_HOST
to STORAGE_EMULATOR_HOST
internally in the Admin SDK. The change should be similar to: https://github.com/firebase/firebase-admin-go/issues/520
In the meantime, please use STORAGE_EMULATOR_HOST
Can we please update the documentation for Python SDK at least?
I was able to get it working in python by setting my STORAGE_EMULATOR_HOST
environment variable equal to http://127.0.0.1:9199
. Can I get confirmation that this is a safe work around for now?
I spoke to Lahiru, setting STORAGE_EMULATOR_HOST is okay to use the emulator for now. We still need to map FIREBASE_STORAGE_EMULATOR_HOST to STORAGE_EMULATOR_HOST in the SDK
The python admin sdk does not appear to support the firebase storage emulator. Other emulators are supported, and the node sdk has this support.