Generating Keys
It is necessary to change the default encryption keys found inside the appsettings.json files for an application. The already existing keys found inside these files are generated by Avanade and these are not intended for normal use. It is therefore strongly advised to generate your own unique keys with the Setup tool.
Most AMT web applications have a setting called "AmtCookieEncryptionKey" in their appsettings.json files. This key needs to be the same in each appsettings file across the entire AMT environment. |
- Navigate to the following directory: ..\<AMT Environment>\Setup.
- Open the Setup.exe file.
- Navigate in the Setup menu to File → Settings and select the second tab called Key generation.
- Select the Generate key button.
- Copy the generated key and use it in the appsetting.json file that requires a key.
warning Do not use the key in the image