nodejs-storage icon indicating copy to clipboard operation
nodejs-storage copied to clipboard

Create multiple signed URLs in bulk

Open PierBover opened this issue 3 years ago • 0 comments

As per @shaffeeullah instructions here I'm opening this feature request.

Currently the Node storage client only allows creating signed URLs one at a time. This is very inefficient in situations where users need to upload files en masse.

Surprisingly, the gsutil command already supports creating URLs in bulk for multiple objects, even using a wildcard:

Multiple gs:// URLs may be provided and may contain wildcards. A signed URL will be produced for each provided URL, authorized for the specified HTTP method and valid for the given duration.

https://cloud.google.com/storage/docs/gsutil/commands/signurl

So the feature request would be to bring this feature (which apparently already exists in the platform) to the Node client.

PierBover avatar Sep 27 '22 15:09 PierBover