 📦 blob-container │ az://demo-zenmlartifactstore ┃┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

After having set up or decided on an Azure Service Connector to use to connect to the target Azure Blob storage container, you can register the Azure Artifact Store as follows:

# Register the Azure artifact-store and reference the target blob storage container

zenml artifact-store register <AZURE_STORE_NAME> -f azure \

--path='az://your-container'

# Connect the Azure artifact-store to the target container via an Azure Service Connector

zenml artifact-store connect <AZURE_STORE_NAME> -i

A non-interactive version that connects the Azure Artifact Store to a target blob storage container through an Azure Service Connector:

zenml artifact-store connect <S3_STORE_NAME> --connector <CONNECTOR_ID>

Example Command Output

$ zenml artifact-store connect azure-blob-demo --connector azure-blob-demo

Successfully connected artifact store `azure-blob-demo` to the following resources:

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

┃             CONNECTOR ID             │ CONNECTOR NAME  │ CONNECTOR TYPE │ RESOURCE TYPE     │ RESOURCE NAMES               ┃

┠──────────────────────────────────────┼─────────────────┼────────────────┼───────────────────┼──────────────────────────────┨

┃ f6b329e1-00f7-4392-94c9-264119e672d0 │ azure-blob-demo │ 🇦  azure       │ 📦 blob-container │ az://demo-zenmlartifactstore ┃

┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

As a final step, you can use the Azure Artifact Store in a ZenML Stack:

# Register and set a stack with the new artifact store

zenml stack register <STACK_NAME> -a <AZURE_STORE_NAME> ... --set