Amazon MediaPackage · JSON Structure

Mediapackage Api Hls Encryption Structure

An HTTP Live Streaming (HLS) encryption configuration.

Type: object Properties: 5 Required: 1
BroadcastingMedia ProcessingMedia

HlsEncryption is a JSON Structure definition published by Amazon MediaPackage, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

ConstantInitializationVector EncryptionMethod KeyRotationIntervalSeconds RepeatExtXKey SpekeKeyProvider

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-mediapackage/refs/heads/main/json-structure/mediapackage-api-hls-encryption-structure.json",
  "name": "HlsEncryption",
  "type": "object",
  "description": "An HTTP Live Streaming (HLS) encryption configuration.",
  "properties": {
    "ConstantInitializationVector": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__string"
        },
        {
          "xml": {
            "name": "constantInitializationVector"
          },
          "description": "A constant initialization vector for encryption (optional).\nWhen not specified the initialization vector will be periodically rotated.\n"
        }
      ]
    },
    "EncryptionMethod": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EncryptionMethod"
        },
        {
          "xml": {
            "name": "encryptionMethod"
          },
          "description": "The encryption method to use."
        }
      ]
    },
    "KeyRotationIntervalSeconds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__integer"
        },
        {
          "xml": {
            "name": "keyRotationIntervalSeconds"
          },
          "description": "Interval (in seconds) between each encryption key rotation."
        }
      ]
    },
    "RepeatExtXKey": {
      "allOf": [
        {
          "$ref": "#/components/schemas/__boolean"
        },
        {
          "xml": {
            "name": "repeatExtXKey"
          },
          "description": "When enabled, the EXT-X-KEY tag will be repeated in output manifests."
        }
      ]
    },
    "SpekeKeyProvider": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SpekeKeyProvider"
        },
        {
          "xml": {
            "name": "spekeKeyProvider"
          }
        }
      ]
    }
  },
  "required": [
    "SpekeKeyProvider"
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/mediapackage-api-hls-encryption-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.