Extending the Expiry Time for Azure Shared Access Signature (SAS) Tokens For Orchestrator in Automation Suite-Embedded

How can the expiry time for Azure SAS (Shared Access Signature) tokens used by Orchestrator's storage bucket be extended in Automation Suite embedded (RHEL) environments?

Issue Description:

The default expiry time for Azure SAS (Shared Access Signature) tokens, used for storing and retrieving files or data in Azure Blob Storage when configured in Orchestrator, defaults to 90 minutes.

Resolution:

For Automation Suite embedded environments, adjust the expiry time using the Orchestrator Configurator Tool as follows:

  1. Create a JSON file with the name 'azure_sas_expiry_time.json' and paste in the code below:
    • {
      "Buckets.SASExpiryTimeInMinutes": 5
      }
      • While adjusting the 'Buckets.SASExpiryTimeInMinutes' value, tailor it to fit your specific requirements. In the example above, we are setting the timeout value to 5 minutes
  2. Ensure ArgoCD is in the system path
    • export PATH="$PATH:/opt/UiPathAutomationSuite//installer/bin"
      • Prior to running the Orchestrator Configurator tool, it is essential to add ArgoCD to your system's PATH. This step ensures that the necessary commands are accessible during the configuration process. Use the command above, modifying the directory path to point to the 'bin' directory of your UiPath Automation Suite installer.
  3. Use the Orchestrator Configurator tool to apply this change. Navigate to the Tools directory within the Automation Suite Installer and run the following command:
    • ./orchestrator_configurator.sh -c /azure_sas_expiry_time.json
      • Replace with the path to the JSON file created in Step 1.