ContentKeyPolicyPutProperties – Media API – MediaKind

ContentKeyPolicyPutProperties

object

The properties of the Content Key Policy.

description

string Optional

A description for the Policy.

fairPlayAmsCompatibility

boolean Optional

FairPlay AMS compatibility enabled.

options

list of objects ContentKeyPolicyOption Required

The Key Policy options.

configuration

object Required

The key delivery configuration.

Discriminated by @odata.type. Select one variant:
@odata.type

string Required

The discriminator for derived types.

ask

string or null Required
format: byte

The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.

fairPlayPfx

string or null Required

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword

string or null Required

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

offlineRentalConfiguration

object ContentKeyPolicyFairPlayOfflineRentalConfiguration Optional

Offline rental policy

playbackDurationSeconds

integer Required

Playback duration

storageDurationSeconds

integer Required

Storage duration

rentalAndLeaseKeyType

enum Required

The rental and lease key type.

Allowed values: Unknown, Undefined, Dual, Expiry, Persistent, Unlimited, Persistent, Limited

rentalDuration

integer Required

The rental duration. Must be greater than or equal to 0.

@odata.type

string Required

The discriminator for derived types.

licenses

list of objects ContentKeyPolicyPlayReadyLicense Required

The PlayReady licenses.

Show 2 variants

Discriminated by @odata.type. Select one variant:

keyId

string or null Required

format: uuid

The content key ID.

contentType

enum Required

The PlayReady content type.

Allowed values: Unknown, Unspecified, UltraViolet, Download, UltraViolet, Streaming

expirationDate

string Optional

format: date-time

The expiration date of license.

gracePeriod

string Optional

format: duration

The grace period of license.

licenseType

enum Required

The license type.

Allowed values: Unknown, Non-Persistent, Persistent

playRight

object ContentKeyPolicyPlayReadyPlayRight Optional

The license PlayRight

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

Allowed values: Unknown, Not Allowed, Allowed, Allowed With Video Constriction

and more properties...