I have an admin web site that uploads files to a specific folder in Firebase Storage.

From a Storage cloud functions, I need to get the authenticated userId from the user that uploads the file. I need this because, when the user uploads the file, the cloud function starts, do some process, and save information in the realtime-database, where I need to save the responsible user of the upload action.

I saw that get user from a realtime-database cloud function is simple (using context.auth.uid), but I did not find any similar solution to storage cloud functions.

Is it possible?

Tks.