Connector Framework Server 25.2
Connector Framework Server Help

# RMS Task Parameters

CFS has import tasks to encrypt and decrypt files using Microsoft Azure Rights Management (RMS).

## Decrypt Files

To decrypt files that have been encrypted with RMS, use the `RMSDecrypt` task.

CFS can decrypt any encrypted Office file or `.pfile`, but cannot decrypt encrypted PDF files.

You must run this task as a Pre task, so that the files are decrypted before File Content Extraction is used to filter them. When you configure the task, use the `Pre` parameter to specify the name of a section in the CFS configuration file that contains the task settings:

    [ImportTasks]
    Pre0=RmsDecrypt:RmsSettings

    [RmsSettings]
    RmsTenantId=...
    RmsClientId=...
    RmsClientSecret=...

After decrypting a file, CFS adds the document field `RmsDecryptedFile` with the value `true`.

## Encrypt Files

To encrypt files using RMS, use the `RmsEncrypt` task.

Office documents keep their original extension, and other file formats are encrypted as a pfile with a `.pfile` extension.

    [ImportTasks]
    Post0=RmsEncrypt:RmsSettings

    [RmsSettings]
    RmsTenantId=...
    RmsClientId=...
    RmsClientSecret=...

After encrypting a file, CFS adds the document field `RmsEncryptedFile` with the value `true`.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.2

Topic Title: RMS Task Parameters