Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

EncryptionContractConfiguration

import type { EncryptionContractConfiguration } from "https://aws-api.deno.dev/v0.4/services/mediapackage.ts?docs=full";

Use encryptionContractConfiguration to configure one or more content encryption keys for your endpoints that use SPEKE 2.0. The encryption contract defines which content keys are used to encrypt the audio and video tracks in your stream. To configure the encryption contract, specify which audio and video encryption presets to use. Note the following considerations when using encryptionContractConfiguration: encryptionContractConfiguration can be used for DASH or CMAF endpoints that use SPEKE 2.0. SPEKE 2.0 relies on the CPIX 2.3 specification. You must disable key rotation for this endpoint by setting keyRotationIntervalSeconds to 0.

interface EncryptionContractConfiguration {
PresetSpeke20Audio: PresetSpeke20Audio;
PresetSpeke20Video: PresetSpeke20Video;
}

§Properties

§
PresetSpeke20Audio: PresetSpeke20Audio
[src]

A collection of audio encryption presets.

§
PresetSpeke20Video: PresetSpeke20Video
[src]

A collection of video encryption presets.