There is no firebase package at the moment, but you can still use it as a standard Google Cloud Storage bucket.
- gscProject = firebase storage ucket less the '.
appspot.com'
- gcsPrivateKey = the service account JSON file you need when accessing firebase from nodejs. You can create one in google console AIM.
Then you can use functions from the gcloud SDK which are very similar to the firebase storage module. (see the docs for the differences)
Please note that you'll have to deal with multiple permissions :
- service account permissions, while accessing your bucket from nodejs (user-12345123451215)
- your google acount individual permissions while manually accessing your data in the google console (user...@domain.tld)
- permissions linked to the firebase project (project-viewers-12345, project-editors-12345, project-owners-12345, 12345 being the ID of your Firebase that you can find in the CLOUD MESSAGING tab in the new Firebase console parameters)
Permissions important to figure out if something's wrong: permission for the bucket, and permissions for default items created in the bucket. Everything is in the google cloud storage console.
I give you those informations about permissions because it took me many hours to figure out which users had which rights on the file, depending on how I was accessing them :)