m3u8-edit-session-key

{
    "region": "aws:eu-west-1",
    "tags": [
        "itest",
        "m3u8-edit-session-key"
    ],
    "tasks": [
        {
            "tool": "storage:get",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-test-access-keys}@com.castlabs.vtk.test/IN/m3u8_ext_x_session_key",
                "files": [
                    "master.m3u8",
                    "aud.m3u8",
                    "vid_sd1.m3u8",
                    "vid_sd1_iframe.m3u8",
                    "audio1.m3u8",
                    "audio2.m3u8",
                    "video1.m3u8",
                    "video2.m3u8",
                    "video3.m3u8",
                    "video_tpf.m3u8",
                    "master_2.m3u8"
                ]
            }
        },
        {
            "tool": "m3u8_edit:add_session_key",
            "parameters": {
                "input_media_playlists": [
                    "vid_sd1.m3u8",
                    "vid_sd1_iframe.m3u8",
                    "aud.m3u8"
                ],
                "input_master_playlist": "master.m3u8",
                "output_master_playlist": "master_x_session_keys.m3u8"
            }
        },
        {
            "tool": "m3u8_edit:add_session_key",
            "parameters": {
                "input_media_playlists": [
                    "audio1.m3u8",
                    "audio2.m3u8",
                    "video1.m3u8",
                    "video2.m3u8",
                    "video3.m3u8",
                    "video_tpf.m3u8"
                ],
                "input_master_playlist": "master_2.m3u8",
                "output_master_playlist": "master_2_x_session_keys.m3u8"
            }
        },
        {
            "tool": "storage:put",
            "parameters": {
                "location": "s3://{com-castlabs-vtk-test-access-keys}@com.castlabs.vtk.test/OUT/m3u8-edit-session-key_{job_id}",
                "files": [
                    "*.m3u8"
                ]
            }
        }
    ]
}