Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The key vault and certificate are required for webhook configuration.

How to add a certificate to Key-Vault https://docs.microsoft.com/en-us/azure/key-vault/certificates/quick-create-portal

Where is it configured?

  1. Login with to https://portal.azure.com

  2. In the search field type key vault and choose the relevant one

  3. Click on Certificates

  4. Click on the agatsaasagatsolutions certificatecertificate (agatsaasagatsolutions in this example)

  5. Click on the current version

  6. At last, you will be redirect the details where you will able to see the certificate information

    Image Removed

    Download the certificate in CER format

    Image Added

  7. Go to “App Registration”

    1. Choose your app

    2. Click “Certificates & Secrets” - “Certificates” - “Upload”

  8. Upload the certificate you’ve downloaded from Key Vault

    Image Added
  9. Go back to Key Vault certificate (section 6) and take tha value from “Secret Identifier” till the level after “secret”. example: https://agatkeyvaultproduction.vault.azure.net/secrets/agatsaasagatsolutions

  10. Copy this value to AdminPortal config file (C:\Inetpub\AccessPortal\configuration) and CasbAdapter config file (C:\Agat\CasbAdapter\X\Configuration) in here: <add key="WebhookCertificateUrl" value="https://agatkeyvaultproduction.vault.azure.net/secrets/agatsaasagatsolutions" />

    Image Added

11. Save the files. Restart IIS and CasbAdapter service.

12. Look in CasbAdapter log for “Subscription” - need to see a successful creation of subscription