# RMSEncrypt

A processor to encrypt files with Microsoft Azure Rights Management (RMS) encryption.

The processor accepts any file and encrypts it. Office documents keep their original extension, and other file formats are encrypted as a pfile with a `.pfile` extension.

## Properties

Name | Default Value | Description
--- | --- | ---
IDOL License Service |  | An IdolLicenseServiceImpl that provides a way to communicate with an IDOL License Server.
Proxy Configuration Service |  | A ProxyConfigurationServiceImpl that specifies the details of the proxy server to use to reach Microsoft Azure.
OAuth Database Service |  | A DatabaseServiceImpl to specify the database in which to store information required for OAuth authentication. If you want to distribute processing across several NiFi instances, you must use an external database to store this data. If you use only a single NiFi instance, this property is not required.
RMS Client ID |  | The client ID to use for encrypting files (Azure application ID).
RMS Client Secret |  | The client secret to use for encrypting files (Azure application secret).
RMS Tenant ID |  | Your Microsoft Azure tenant ID.
RMS Template |  | The name of the template to use for encrypting files. If you do not set this property the processor uses the first template it finds.

## Relationships

Name | Description
--- | ---
failure | FlowFiles that were not processed successfully.
success | FlowFiles containing files that were successfully encrypted.

_FT_HTML5_bannerTitle.htm