# 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 KeyView 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.

For KeyView to access the protected contents of Microsoft Azure Rights Management System (RMS) protected files, your end-user application must be registered on the relevant Azure domain. For more information about how to register an app, refer to the Microsoft documentation: https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app.

After you register an application, you can find the client and tenant IDs in the Azure Portal, in the Overview section. You can find the 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 KeyView to access the contents of all files protected by this domain. Therefore you must handle these three pieces of information securely.

_FT_HTML5_bannerTitle.htm