# BuyDRM KeyOS on iOS

This article describes how to configure BuyDRM KeyOS DRM with THEOplayer.

Head to our page on [DRM](https://docs-preview.optiview.dolby.com/pr-861/theoplayer/how-to-guides/ios/drm/introduction.md) for more general information.

## Integration

We provide open-source DRM integrations which are easy to maintain and allow for a modular approach. You can find them in the [DRM integration samples repository](https://github.com/THEOplayer/samples-drm-integration), alongside guides on how to integrate and use them.

The BuyDRM KeyOS integration can be found [here](https://github.com/THEOplayer/samples-drm-integration/blob/master/ios/ContentProtectionIntegration/integration/KeyOsDRMIntegration.swift). It passes the Authentication XML generated from the BuyDRM platform as custom data on the license request.

## Resources

* <https://test.buydrm.com/sites/default/files/pdf/webinar/050217_DeployingKeyOSMulti-DRM_withTHEOPLayer_Webinar.pdf>
* [KeyOS BuyDRM](https://www.buydrm.com/keyosplayer)
* [ContentProtectionIntegration API](https://docs-preview.optiview.dolby.com/pr-861/theoplayer/v11/api-reference/ios/Protocols/ContentProtectionIntegration)
