---
title: c Azure Storage Blob Service
description: Available connectors
documentId: ipaas-azure-storage-blob-service
locale: en-US
---

The [**Azure Storage Blob Service**](https://camel.apache.org/components/4.10.x/azure-storage-blob-component.html) component is used to store and retrieve _blobs_ (binary large object) from the _Azure Storage Blob_ service using Azure v12 APIs.

**URI syntax**: `azure-storage-blob:accountName/containerName`

## Main fields

*Path parameters*

| **Name** | **Description** | **Default** | **Type** |
|----------|---------------|------------|----------|
| `accountName`(common) | Azure account name to be used for authentication with Azure Blob services. | — | String |
| `containerName` (common)| Blob container name. | — | String |

*Query parameters*

| **Name** | **Description** | **Default** | **Type** |
|----------|---------------|------------|----------|
| `credentialType` (common) | Credential strategy to be used for authentication. Possible values: `SHARED_ACCOUNT_KEY`, `SHARED_KEY_CREDENTIAL`, `AZURE_IDENTITY`, `AZURE_SAS`. | `AZURE_IDENTITY` | CredentialType |
| `operation`(producer)| Blob operation that can be used with this component in the producer. Possible values: `listBlobContainers`, `createBlobContainer`, `deleteBlobContainer`, `listBlobs`, `getBlob`, `deleteBlob`, etc | listBlobContainers |BlobOperationsDefinition
| `accessKey`(security) | Access key for the Azure account, used for authentication with Blob services. | — | String |

## Example

<Steps>
  <Step>
   The flow starts with a POST request on the `/hello` endpoint.
  </Step>
  <Step>
   Then it uploads to Azure Blob Storage:
   - Account: `camelstorageaccount01`
   - Container: `myblobcontainer`
   - File name: `novo_arquivo_de_texto.txt`
   - Authentication: shared access key (`SHARED_ACCOUNT_KEY`) provided in the `accessKey` parameter. Without RAW(), characters like + or / could be misinterpreted by the Camel parser.
   - Operation: `uploadBlockBlob` (sends the body content as a blob)
  </Step>
  <Step>
   Finally, it logs the completed operation.
  </Step>
</Steps>


```yaml
- from:
    uri: rest:post:/hello
    steps:
      - to:
          uri: azure-storage-blob:camelstorageaccount01/myblobcontainer
          parameters:
            blobName: novo_arquivo_de_texto.txt
            credentialType: SHARED_ACCOUNT_KEY
            operation: uploadBlockBlob
            accessKey: RAW(**access key**)
      - to:
          uri: log:myLogger
```

![](https://creative-ball-51b3fc85c0.media.strapiapp.com/azure_storage_blob_service_connector_e98f0c7593.png)

### cURL

```
curl --location --request POST 'https://sensedia-integration-camel-poc.f6g7h8i9j0.integrations-tst.sensedia-eng.com/hello' \
--header 'Content-Type: text/plain' \
--data-raw 'new text file content'
```
