Using Pre-Shared Keys through the M-Files Web Service (REST API)

Pre-shared keys are not supported in M-Files Cloud and should not be used for new implementations. OAuth should be used for authentication instead of pre-shared keys.

This article discusses how to provide Pre-Shared Key information when using the M-Files Web Service. Pre-Shared Key setup and configuration information can be found in the M-Files Knowledgebase.

When making requests to an instance of the M-Files Classic Web that has had a Pre-Shared Key requirement configured, the X-PresharedKey HTTP header must be added to all HTTP requests. This header must be added in addition to other HTTP headers.