Integrate Azure Blob Storage with Service Connector

This page shows the supported authentication types and client types of Azure Blob Storage using Service Connector. You might still be able to connect to Azure Blob Storage in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection. You can learn more about Service Connector environment variable naming convention.

Supported compute service

  • Azure App Service
  • Azure Container Apps
  • Azure Spring Apps

Supported authentication types and client types

Supported authentication and clients for App Service, Container Apps and Azure Spring Apps:

Client type System-assigned managed identity User-assigned managed identity Secret / connection string Service principal
.NET yes icon yes icon yes icon yes icon
Java yes icon yes icon yes icon yes icon
Java - Spring Boot yes icon
Node.js yes icon yes icon yes icon yes icon
Python yes icon yes icon yes icon yes icon
None yes icon yes icon yes icon yes icon

Default environment variable names or application properties

Use the connection details below to connect compute services to Blob Storage. For each example below, replace the placeholder texts <account name>, <account-key>, <client-ID>, <client-secret>, <tenant-ID>, and <storage-account-name> with your own account name, account key, client ID, client secret, tenant ID and storage account name.

Azure App Service and Azure Container Apps

Secret / connection string

Default environment variable name Description Example value
AZURE_STORAGEBLOB_CONNECTIONSTRING Blob Storage connection string DefaultEndpointsProtocol=https;AccountName=<account name>;AccountKey=<account-key>;EndpointSuffix=core.windows.net

system-assigned managed identity

Default environment variable name Description Example value
AZURE_STORAGEBLOB_RESOURCEENDPOINT Blob Storage endpoint https://<storage-account-name>.blob.core.windows.net/

User-assigned managed identity

Default environment variable name Description Example value
AZURE_STORAGEBLOB_RESOURCEENDPOINT Blob Storage endpoint https://<storage-account-name>.blob.core.windows.net/
AZURE_STORAGEBLOB_CLIENTID Your client ID <client-ID>

Service principal

Default environment variable name Description Example value
AZURE_STORAGEBLOB_RESOURCEENDPOINT Blob Storage endpoint https://<storage-account-name>.blob.core.windows.net/
AZURE_STORAGEBLOB_CLIENTID Your client ID <client-ID>
AZURE_STORAGEBLOB_CLIENTSECRET Your client secret <client-secret>
AZURE_STORAGEBLOB_TENANTID Your tenant ID <tenant-ID>

Azure Spring Cloud

secret / connection string

Application properties Description Example value
azure.storage.account-name Your Blob storage-account-name <storage-account-name>
azure.storage.account-key Your Blob Storage account key <account-key>
azure.storage.blob-endpoint Your Blob Storage endpoint https://<storage-account-name>.blob.core.windows.net/

Next steps

Follow the tutorials listed below to learn more about Service Connector.