Encrypt a document
On the 1.1 build, requestprocessing.protection for a PDF. The worker uses qpdf with AES-256 encryption. Set a distinct user password when recipients must enter a password to open the document. Keep the owner password private.
Run this example on your server with the API origin, workspace key and two passwords supplied by your secret manager. It prints the job ID.