GoogleCloudPlatform / GoogleCloudPlatform/nodejs-docs-samples

Support creating signed urls for Cloud CDN

Đang mở
#2,437 1 bình luận 1 reaction 1 người được giao Được giao cho @iennae Xem trên GitHub
priority: p2 samples type: feature request
Ngôn ngữ chính
JavaScript
Star
3k
Fork
2k
Merge trung bình
2 ngày 19 giờ
Pull request đã merge (30 ngày)
44

Mô tả

Originally filed in [nodejs-storage](https://github.com/googleapis/nodejs-storage/issues/1719) by @TriPSs
This is a request for a Node.js sample on [this page](https://cloud.google.com/cdn/docs/using-signed-urls#signing_urls)

Is your feature request related to a problem? Please describe.
We want to implement signed urls that go through the load balancer with Cloud CDN, this library does not yet expose a method that can be used to generate those urls.

Describe the solution you'd like
An method that will generate these urls for us.

Describe alternatives you've considered
Create the custom code inside the application itself.

Additional context
Would be awesome if this could be integrated inside the library as now everyone who needs this needs to figure it out themselves (As the Google Cloud docs does not have an example for node) and create their own solution.

Outstanding question:
```
if I understood it correctly you need to create a custom "URL signing key" for the load balancer and use that one when creating the signed url so Cloud CDN / Load Balancer can accept it. Or is this incorrect?
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.