Description

ARTIFACTORY: How to save binaries in a custom path for Azure Blob Storage

AuthorFullName__c
Ino Choi
articleNumber
000005355
FirstPublishedDate
2022-07-31T13:29:43Z
lastModifiedDate
2022-07-31

Artifactory supports using cloud object storage from the major SaaS providers including Amazon's S3, Google's Cloud Storage, or Azure's Blob Storage as its binary provider.
When using Azure Blob Storage, binaries are saved under the “data” folder by default.

User-added image
If you would like to set a custom path to save binaries in a different location, you can add the “path” parameter in the “azure-blob-storage” binary provider (under $JFROG_HOME/artifactory/var/etc/artifactory/binarystore.xml)
<config version="1">
    <chain template="azure-blob-storage"/>
    <provider id="azure-blob-storage" type="azure-blob-storage">
        <accountName>XXXXXXXX</accountName>
        <accountKey>XXXXXXXX</accountKey>
        <endpoint>https://<ACCOUNT_NAME>.blob.core.windows.net/</endpoint>
        <containerName><NAME></containerName>
        <path>filestore</path>
    </provider>
</config>

After saving the change, restart Artifactory and the binaries will be uploaded and downloaded from the new location.

User-added image