1. Home
  2. ...
  3. File Storage and Transfer
  4. c Azure Storage Blob Service

c Azure Storage Blob Service

Available connectors

The Azure Storage Blob Service 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_IDENTITYCredentialType
operation(producer)Blob operation that can be used with this component in the producer. Possible values: listBlobContainers, createBlobContainer, deleteBlobContainer, listBlobs, getBlob, deleteBlob, etclistBlobContainersBlobOperationsDefinition
accessKey(security)Access key for the Azure account, used for authentication with Blob services.—String

Example

The flow starts with a POST request on the /hello endpoint.

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)

Finally, it logs the completed operation.

cURL

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more