Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Measurement Advisor

Encrypt the CONNECT service access token

  • Last UpdatedNov 18, 2025
  • 1 minute read

Note: This procedure is only required when the access token is used in conjunction with the File Import tool to migrate external data.

  1. Select Start > Windows PowerShell.

    Windows PowerShell opens.

  2. Execute the following commands:

    Note: You must have set up the Protection Rules in the MeasDataProtectorSettings.json file before the SecretProtector can be run. Perform these steps in the MeasurementAdvisor silo (%DNAInstallRoot%\MeasurementAdvisor\bin).

    1. Enter cd $env:DNAInstallRoot\MeasurementAdvisor\bin.
      The above command changes to the directory where the executables are installed.

    2. Enter .\SecretProtector.exe protect "<advanced service access token copied from AVEVA CONNECT>".

      The above command outputs the protected string on the console, and creates and stores the key ring information in %DNADataRoot%\MeasurementAdvisor\config\keyring.

    3. Copy the protected string from the output, and paste it into the EncryptedServiceAccessToken section of the MeasDataProtectorSettings.json file. For more information, see Configure MeasDataProtectorSettings.json.

TitleResults for “How to create a CRG?”Also Available in