EnvelopeEncryption Class

Class for EnvelopeEncryption encryption scheme.

Inheritance
azure.mgmt.media._serialization.Model
EnvelopeEncryption

Constructor

EnvelopeEncryption(*, enabled_protocols: _models.EnabledProtocols | None = None, clear_tracks: List[_models.TrackSelection] | None = None, content_keys: _models.StreamingPolicyContentKeys | None = None, custom_key_acquisition_url_template: str | None = None, **kwargs)

Keyword-Only Parameters

Name Description
enabled_protocols

Representing supported protocols.

clear_tracks

Representing which tracks should not be encrypted.

content_keys

Representing default content key for each encryption scheme and separate content keys for specific tracks.

custom_key_acquisition_url_template
str

Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

Variables

Name Description
enabled_protocols

Representing supported protocols.

clear_tracks

Representing which tracks should not be encrypted.

content_keys

Representing default content key for each encryption scheme and separate content keys for specific tracks.

custom_key_acquisition_url_template
str

Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.