Home » API Reference » Encoding Settings » Encryption

All Parameters | VOD Parameters | Live Parameters Encoding Settings

Encryption

Zencoder can perform simple AES-128-CBC encryption of video files. Our implementation is designed to be compatible with HTTP Live Streaming (HLS) outputs, but can be used to encrypt any video file similarly. When used for segmented outputs, only the segment files will be encrypted (leaving the manifest/playlist files readable, as expected). For HLS outputs, the necessary key/IV data will be added to the M3U8 manifest file, and encryption key files will be included with the other deliverable files if applicable.

Encryption is turned on when encryption_key, encryption_key_url, encryption_method, or encryption_key_rotation_period are specified.

Setting Default Description
encryption_method none Set the encryption method to use for encrypting.
encryption_key none Set a single encryption key to use rather than having Zencoder generate one
encryption_key_url none Set a URL to a single encryption key to use rather than having Zencoder generate one
encryption_key_rotation_period none Rotate to a new encryption key after a number of segments
encryption_key_url_prefix none Prepend key URLs with the passed string
encryption_iv none Set an initialization vector to use when encrypting
encryption_password none Sets a password to use for generating an initialization vector