This content is valid for Cloud since version 4.2.0
1. Create a Key vault
(Note that Microsoft documentation could be outdated)
2. Access policy: grant secret permissions GET/LIST to the Appspace Intranet app service
3. To be able to find the Appspace Intranet app service managed identity you need to go here.
4. These are the Secrets that you can add to the key vault by going to Key vault > Settings > Secrets:
ConnectionString
ClientSecret
SecondaryClientSecret
5. Once the secrets are added, you have to add the following application setting to your Appspace Intranet app service by going to App Service > Settings > Configuration > Application settings
Name = AzureKeyVaultUrl
Value = VaultURI from KeyVault
6. Restart Azure app service