Versions Compared

Key

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

The key vault and certificate are required for webbook configuration.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

...

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

...

  1. In the search field type

...

  1. key vault and

...

  1. choose the

...

  1. relevant one

...

  1. Image Added

  2. Click on Certificates

    Image Modified

  3. Click on the

...

  1. certificate (agatsaasagatsolutions in this example)

    Image Modified

  2. Click on the current version

    Image Added

  3. Download the certificate in .cer format

    Image Added

  4. Go to “App Registration”

    1. Choose your app

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

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

    Image Added
  6. Setting up Azure key Vault for Webhooks

  7. Go back to Key Vault certificate (section 6) and take the value from “Secret Identifier” until the level after “secret”. Example: https://agatkeyvaultproduction.vault.azure.net/secrets/agatsaasagatsolutions

  8. Copy this value to the 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 the subscription