Module Values.SpekeKeyProviderSource

If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.

Sourcetype nonrec t = {
  1. certificateArn : string option;
    (*

    If you want your key provider to encrypt the content keys that it provides to MediaConvert, set up a certificate with a master key using AWS Certificate Manager. Specify the certificate's Amazon Resource Name (ARN) here.

    *)
  2. encryptionContractConfiguration : EncryptionContractConfiguration.t option;
    (*

    Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.

    *)
  3. resourceId : string option;
    (*

    Specify the resource ID that your SPEKE-compliant key provider uses to identify this content.

    *)
  4. systemIds : string list option;
    (*

    Relates to SPEKE implementation. DRM system identifiers. DASH output groups support a max of two system ids. HLS output groups support a max of 3 system ids. Other group types support one system id. See https://dashif.org/identifiers/content_protection/ for more details.

    *)
  5. url : string option;
    (*

    Specify the URL to the key server that your SPEKE-compliant DRM key provider uses to provide keys for encrypting your content.

    *)
}
Sourceval make : ?certificateArn:??? -> ?encryptionContractConfiguration:??? -> ?resourceId:??? -> ?systemIds:??? -> ?url:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string ] list | `String of string | `Structure of (string * [> `Enum of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t