KVRMSCredentials

This structure defines each element of the RMS credentials. This structure is defined in kvdecryptionsettings.h.

typedef struct _KVRMSCredentials
{ 
    KVStructHeader;

    const char* tenantID;
    const char* clientID;
    const char* clientSecret;
}
KVRMSCredentials;

Member Descriptions

KVStructHeader The version of the structure. See KVStructHead.
tenantID The tenant ID of the domain.
clientID The client ID of the application.
clientSecret The client secret for the application.

To access the protected contents of Microsoft Azure Rights Management System (RMS) protected files, your end-user must register an application on the relevant Azure domain. For more information about how to register an app, refer to the Microsoft documentation.

After they register an application, they can find their client and tenant IDs in the Azure Portal, in the Overview section. They must then add a client secret, in the Certificates & Secrets section.

CAUTION: This information is linked to the domain itself, rather than to a specific user. Providing this information allows File Content Extraction to access the contents of all files protected by this domain. Therefore you must handle these three pieces of information securely.