I am trying to do the following using the Fire TV App Builder... Have my Firestick send out HTTP headers to Cloudfront so it will only access content based upon a specific header sent from the device to access a m3u8 file. Once it has the file, it will find that the TS files are encrypted and with the HLS spec, point back to the URL listed in the m3u8 file to access the encryption key. Before it sends the request, I want to display somewhere the device ID of the amazon fire tv. The device ID will be send via HTTP header (in https) to the Key URL server where it will only return the key back to the Amazon Fire TV if it finds a valid device ID for the resource it is seeking to acquire. (I know how to restrict headers on cloudfront, and have everything handled on the key-server end). This is so I can lock the content to a PER device.
In short, looking to put a device id label on screen & submit the device id via HTTP headers, with the whole processes in HTTPS. Seems real straightforward for the Guru's. Thanks for the help, hopefully this will help someone else out as well!