Skip to main content

Mosaic DRM Service

The Mosaic DRM Service is the recommended way to set up and operate Axinom DRM for a Mosaic environment.

It is a managed service that you enable for an environment like any other Mosaic service. Once enabled, your DRM configuration lives in the Management System, next to your videos and other content, and the License Service and Key Service endpoints for that environment are shown to you directly.

Why use it​

Traditionally, a DRM configuration was created in Axinom Portal, and its secrets were then copied into every system that needed them. The Mosaic DRM Service removes that step.

  • No management key to store. Key seeds, communication keys, and FairPlay credentials are managed in the Management System, and access is controlled by ordinary Mosaic permissions. There is no separate secret that can be lost or leaked.
  • No DRM credentials in encoding jobs. The token that authorizes an encoding job is also used to request content keys, so you no longer pass a tenant ID, a management key, or a key seed, and you no longer need credentials protection for DRM. See Protecting Videos in Mosaic.
  • One place for DRM settings. License Service and Key Service configuration sit in the same Management System as the rest of your workflow.
  • Clean separation per environment. Each environment keeps its own DRM settings, so your development, test, and production setups never share secrets.
note

DRM configurations created in Axinom Portal continue to work, and their documentation remains available. See DRM Managed Mode if you integrate Axinom DRM from outside Mosaic, or if you are not ready to migrate.

Enabling the service​

Enable the DRM Service for an environment from the Environment Details station in the Admin Portal, the same way you enable any other managed service. See Enabling and Disabling Services for the full procedure.

That is the whole setup. The environment is ready for DRM, and the Axinom FairPlay Streaming Test certificate is available so you can evaluate FairPlay right away.

You can start protecting and playing content immediately. Before going to production, register your own FairPlay certificate, as described under FairPlay Credentials.

Caution

Disabling the service purges its data, including key seeds and communication keys. Content that was encrypted with a purged key seed can no longer be played.

Service endpoints​

Open the DRM Service station in the Management System, under Admin Settings, to see the endpoints assigned to your environment. Each URL can be copied directly from the station.

License Service API URLs

APIPurpose
Management APIManaging License Service configuration, such as blocked users and Widevine data sets
PlayReady APILicense requests from PlayReady clients
Widevine APILicense requests from Widevine clients
FairPlay APILicense requests from FairPlay clients

Configure your video player with the PlayReady, Widevine, and FairPlay URLs.

Key Service API URLs

APIPurpose
Management APIAcquiring content keys, for example from the Encoding Service in DRM Managed Mode
SpekeSPEKE key exchange
Speke V2SPEKE 2.0 key exchange
CENCWidevine Common Encryption key exchange
AneviaKey exchange with Anevia packagers
HarmonicKey exchange with Harmonic packagers
BroadpeakKey exchange with Broadpeak packagers

The Key Service Management API URL is the value you pass as ApiUrl when you protect videos during encoding. The remaining Key Service URLs let third-party encoders and packagers acquire keys over the protocol they support.

Working with the Video Service​

The DRM Service is the content protection half of the Video Service workflow. With both services enabled for an environment, protecting a video is one setting rather than a configuration exercise:

StepWhere
Enable the DRM ServiceEnvironment Details, in the Admin Portal
Switch on DRM Protection in a processing profileSettings / Processing, in the Management System
Encode the videoThe Video Service, or its GraphQL API and messaging commands

The Encoding Service requests the content keys for the job from the Key Service of the environment, authorized by the Mosaic JWT that started the job. Nothing has to be entered in the DRM Settings of the Video Service, and no DRM secret travels with the job. See Protecting Videos in Mosaic and Set up Encoding Profiles.

Playback follows the same environment:

Permissions​

Access to the DRM settings is granted through the DRM Service permissions of a user or service account:

PermissionGrants
SETTINGS_VIEWRead access to the DRM settings
SETTINGS_EDITCreating and changing key seeds, communication keys, and certificates
ADMINFull access to the service

Because DRM secrets are protected by these permissions, grant SETTINGS_EDIT and ADMIN only to the users who administer content protection. See User Roles for how permissions are assigned.

Next steps​

See also​

Was this page helpful?