In the Read Job Object, I can only find : "encryption": null. My playlist array in the Elastic Transcoder Lambda function looks like this:
Playlists: [
{
Format: 'HLSv3',
Name: 'index',
OutputKeys: [
videoId + videoAudio600k,
videoId + videoAudio1M,
videoId + videoAudio2M
],
HlsContentProtection: {
Method: "aes-128",
//KeyStoragePolicy: "WithVariantPlaylists"
KeyStoragePolicy: "NoStore",
LicenseAcquisitionUrl:"xxxxxxxx" + videoId
}
}
]
When I select "WithVariantPlaylists", the key is stored in the bucket and the encryption is working.