Mirroring contracts to Azure Blob Storage


Zefort supports mirroring contracts to Azure Blob Storage.

With these instructions you can configure a weekly mirrored version of your contracts (files and metadata). This data will be periodically (every Sunday) copied to an Azure container of your choice.

Configuring Azure Blob Storage integration

Prerequisites

You need:

  • A Zefort administrator user account with the ”can manage account settings” permission
  • Administrative access to storage accounts in your Azure Portal

Sidenote: as a best practice, organisations using Zefort often reserve some administrator user accounts for IT personnel, who only have access to configure account settings (and possibly manage user accounts), but no access to actual contracts or other content.

Configurations steps

The steps to configure the integration are as follows:

  1. Create a new storage account in the Azure Portal
  2. Create a new storage container in the Azure Portal
  3. Create a new Azure Blob Storage integration entry in Zefort’s Account settings
  4. Notify Zefort’s support about your new integration
  5. Enable the integration

0. Create a new storage account in the Azure Portal

Note:  This step is not mandatory if you already have an existing account. However, the connection string (used in step 2) has access to the entire account and we strongly recommend using a separate account for the integration.

  1. Sign in to the Azure Portal and browse to Storage accounts.
  2. Click the “+ Create” button to create a new account. Give it a name and select a suitable region. The default settings are suitable for the integration but you might want to review the settings to suit the needs of your organization.
  3. Click “Review + Create” on the bottom of the page, then click “Create“.

1. Create a new storage container in the Azure Portal

  1. Browse to Storage accounts and select an account.
  2. Under Data storage select Containers and click the “+ Container” button to create a new container.
  3. Enter a name for the container and click “Create“.

NOTE! This container should be reserved only for the contracts in Zefort. During the procedure the integration will upload new contracts and remove obsolete contracts (which have been deleted in Zefort). Therefore all files that are not in Zefort will be removed from the container.

2. Create a new Azure Blob Storage integration entry in Zefort’s Account Settings

  1. In Zefort browse to Account Settings → Integrations. 
  2. Click the “Connect” button in the section “Azure Blob Storage mirror” and enter the following settings:
    • Status: Disabled*
      *This will be enabled in the final phase
    • Container name: The name of the container you created in phase 1
      (this is case-sensitive so be sure to copy-paste or type in the name exactly as in Azure).
    • Connection string: The connection string for your Azure Storage account.
      This string can be found in the Azure Portal (Storage Accounts → The name of the account → Security + Networking →Access keys → Show keys). You can use either of the connection strings (for key1 or key2).
  3. After you’ve entered the settings click “Save” to close the dialog.

3. Notify Zefort’s support about your new integration

Contact support@zefort.com and let us know you’ve created a new Azure Blob Storage entry in your integration settings. Include the name of the Azure storage account and Azure storage container in the email (do NOT send us your connection string).  As in phase 3, this information is also case-sensitive so make sure you enter the account name and the container name exactly as they appear in Azure.

We will then configure our firewall to allow connections to the aforementioned Azure storage container. The purpose of this phase is to keep your data safe, so that it will be only transferred to a container you surely own. (Note that you can rotate your connection string in Azure and use the new string in Zefort’s integration settings without contacting us.)

4. Enable the integration

The integration can be activated once we have confirmed that the previous phase has been completed and the firewall rules have been updated.

  1. Change the integration status from “Disabled” to  “Active” and press “Save“.
  2. The next operation will take place on the following Sunday. In the following week, check your Azure storage container to see if your contracts have been mirrored. In case of any trouble please don’t hesitate to contact our support.

Email notifications

You can order an email notification for each mirroring process when the weekly sync is completed. The summary includes following information:

  • Contracts checked: number of contracts in Zefort account
  • Objects added: number of files added in Azure Blob storage
  • Objects updated: number of files that have been updated in Azure Blob storage
  • Objects deleted: number of files deleted from Azure Blob storage
  • Data sent: amount of data that was sent from Zefort to Azure Blob storage

Note! Objects include also log files that are updated weekly. For this reason, the number of deleted objects is larger than the number of deleted contracts in Zefort.