Configuring the Data Protection API

How to configure the Data Protection API.