UiPath Documentation
automation-suite
2024.10
false
UiPath logo, featuring letters U and I in white

Automation Suite on EKS/AKS installation guide

Last updated Mar 31, 2026

The backup setup does not work due to a failure to connect to Azure Government

Description

Following an Automation Suite on AKS installation or upgrade, the backup setup does not work because of a failure to connect to Azure Government.

Solution

You can fix the issue by taking the following steps:

  1. Create a file named velerosecrets.txt, with the following contents:

    AZURE_CLIENT_SECRET=<secretforserviceprincipal>
    AZURE_CLIENT_ID=<clientidforserviceprincipal>
    AZURE_TENANT_ID=<tenantidforserviceprincipal> 
    AZURE_SUBSCRIPTION_ID=<subscriptionidforserviceprincipal>
    AZURE_CLOUD_NAME=AzureUSGovernmentCloud
    AZURE_RESOURCE_GROUP=<infraresourcegroupoftheakscluster>
    AZURE_CLIENT_SECRET=<secretforserviceprincipal>
    AZURE_CLIENT_ID=<clientidforserviceprincipal>
    AZURE_TENANT_ID=<tenantidforserviceprincipal> 
    AZURE_SUBSCRIPTION_ID=<subscriptionidforserviceprincipal>
    AZURE_CLOUD_NAME=AzureUSGovernmentCloud
    AZURE_RESOURCE_GROUP=<infraresourcegroupoftheakscluster>
    
  2. Encode the data in the velerosecrets.txt file as Base64:

    export b64velerodata=$(cat velerosecrets.txt | base64)
    export b64velerodata=$(cat velerosecrets.txt | base64)
    
  3. Update the velero-azure secret in the velero namespace, as shown in the following example:

    apiVersion: v1
    kind: Secret
    metadata:
      name: velero-azure
      namespace: velero
    data:
      cloud: <insert the $b64velerodata value here>
    apiVersion: v1
    kind: Secret
    metadata:
      name: velero-azure
      namespace: velero
    data:
      cloud: <insert the $b64velerodata value here>
    
  4. Restart the velero deployment:

    kubectl rollout restart deploy -n velero
    kubectl rollout restart deploy -n velero
    
  • Description
  • Solution

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated