Updating the expired SAS URL of an Azure blob endpoint

This application example describes how to update an expired SAS URL for an Azure blob endpoint.

This first example describes how to update the SAS URL of an Azure blob endpoint on the local computer, and then how to distribute this endpoint to all computers in the field when using a plant license, and how to synchronize the software configuration on these computers via the import directory.

Updating the SAS URL of an Azure blob endpoint on the local computer

Perform the following steps if the Azure blob endpoint whose SAS URL is to be updated is not write-protected. Otherwise, continue directly with the next section.

  • A new SAS URL of the Azure blob container has been generated via the Azure web interface.
  1. Open the configuration of the Azure blob endpoint with the expired SAS URL.
  2. In the configuration of the Azure blob endpoint with the expired SAS URL, replace the old SAS URL with the newly generated SAS URL.
  3. Save the Azure blob endpoint.
  4. Export the Azure blob endpoint with the updated SAS URL.
  5. Place the file with the exported Azure blob endpoint with the updated SAS URL for import into the import directory of your SDC installation.

 

If the Azure blob endpoint whose SAS URL is to be updated is write-protected, perform the following steps:

  • A new SAS URL of the Azure blob container has been generated via the Azure web interface.
  1. Export the Azure blob endpoint with the expired SAS URL.
  2. Place the file with the exported endpoint into the import directory of your SDC installation for importing.
  3. Restart the SDC.
    • The Azure blob endpoint stored in the import directory is imported when the SDC is started, is available in the list of endpoints, and is not write-protected.
  4. Open the configuration of the imported Azure blob endpoint.
  5. Replace the old SAS URL with the newly generated SAS URL in the imported Azure blob endpoint.
  6. Save the endpoint.
  7. Export the Azure blob endpoint with the updated SAS URL.
  8. Place the file with the exported endpoint with the updated SAS URL for import into the import directory of your SDC installation.
Distributing the updated Azure blob endpoint to computers in the field
  • The Azure blob endpoint with the expired SAS URL has been updated on the local computer as described in the previous sections.
  • On the computers in the field, the Azure blob endpoint has been created via an import from the import directory.
  1. Export the updated Azure blob endpoint from your local computer.
  2. On all computers in the field in the respective local import directories, overwrite the file of the Azure blob endpoint with the expired SAS URL with the file with the exported Azure blob endpoint with the updated SAS URL.
  3. To import the Azure blob endpoint with the updated SAS URL from the import directory, restart the SDC on all computers in the field.
  • The existing Azure blob endpoint on the computers in the field with the old SAS URL is overwritten by the Azure blob endpoint with the new SAS URL.