Skip to main content

How to authenticate to an Azure Blob Storage Container

Prerequisites

To connect Azure with Rhombus AI, you need to generate a connection string with shared access signature (SAS) token.

Step 1. Create a Storage Account and Container

Before generating a connection string, ensure you have a storage account and a blob container created in Azure.

  1. Navigate to the user portal and Storage Account.

    user portal and storage account

  2. Create a storage account if you don't have one already.

    Create a storage account

  3. Select the desired storage account.

    Select the desired storage account

  4. Go to Containers under the Data storage section in the left sidebar.

    Go to Containers

  5. Create a new container by clicking on the Add container button at the top, and get the Container Name.

    Create a new container

Step 2. Navigate to Shared access signature

  1. Back to Storage Account.

    user portal and storage account

  2. Select the desired storage account.

    Select the desired storage account

  3. Click Shared access signature in the left sidebar.

    user portal and Shared access signature

Step 3. Generate SAS and Connection String

  1. Select Blob from the Allowed services options.

  2. Select Container and Object from the Allowed resource types options.

  3. Select Read, Write, and List from the Allowed permissions options.

    Note: The Write permission is optional, but it's essential if you need to save files to the storage account.

  4. Select the expired date.

    Select Read and List from the Allowed permissions options

  5. Click Generate SAS and connection string. The Azure portal will generate both a SAS token and a connection string. Copy the connection string for use with Rhombus AI.

    Note: The connection string format includes the blob endpoint and the SharedAccessSignature parameter:

    BlobEndpoint=https://<storage_account>.blob.core.windows.net;
    SharedAccessSignature=<sas_token>

    Generate SAS and connection string