Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cocotower
Level 10

AWS S3 signed URL method needed

Can someone for the love of God please post the BrightScript code that generates a signed AWS S3 URL for supplying to the Video.url field?  The signed URL needs to include the GET method, of course.  I'm not asking about CloudFront.  S3 does not require CloudFront, so please do not post that code.  I've been using public buckets for too long now because I have never seen a solution to using private bucket videos.  Public buckets don't require URL signing or anything but just the video URL, and almost all ROku sample channels seem to suggest using public buckets.  Surely Roku has clear documentation on doing it the right way.

 

 

0 Kudos
3 REPLIES 3\
RokuJonathanD
Roku Employee
Roku Employee

Re: AWS S3 signed URL method needed

Hi @cocotower 

Can you explain more on your current efforts to include signed Amazon S3 buckets in your feed. Have you attempted to include the full Amazon S3 bucket signed URL for a video in the content feed?

Let me know and we'll try to get you a more detailed response.

 

0 Kudos
cocotower
Level 10

Re: AWS S3 signed URL method needed

As I stated in my post, I'm trying to generate the signed URL from my channel.  That's how signed URLs work... you need to create it from your program based on the current date/time and expiration time, server operation like GET, etc.

I'm not aware of any feature in the AWS S3 console UI for obtaining a presigned URL to a file.  Such a URL that doesn't expire would essentially be the same as giving public access to the file if somebody finds the signed URL in my feeds.

I need somebody who's written a channel that accesses private AWS S3 files to tell me what BrightScript code they used to create the signed URL for providing to the Video component.

 

0 Kudos
RokuJonathanD
Roku Employee
Roku Employee

Re: AWS S3 signed URL method needed

Sounds good. Please detail your request to Roku Partner Success, and we'll get you a detailed answer.

0 Kudos