{
  "name": "azure-blob-upload",
  "title": "Upload a file to Azure Blob Storage",
  "category": "Object storage",
  "tags": [
    "azure-cli",
    "object-storage"
  ],
  "version": "1.0.2",
  "date": "2026-08-11",
  "notes": "Move azure-cli from 2.88.0 to 2.89.0. Fixable OS advisories drop from 25 to 8, and the 8 that stay are Azure Linux 3 packages only Microsoft can rebuild, recorded in hack/image-cve-exceptions.txt. 2.89.0 ships no storage changes at all, and `az storage blob upload --overwrite` was round-tripped against Azurite on both digests.",
  "latest": true,
  "installable": true,
  "url": "https://catalog.dagweave.com/api/v1/items/azure-blob-upload/1.0.2.json",
  "templateUrl": "https://catalog.dagweave.com/api/v1/items/azure-blob-upload/1.0.2/template.yaml",
  "entrypoint": "upload",
  "parameters": [
    {
      "name": "account",
      "title": "Storage account",
      "description": "Azure storage account name.",
      "type": "string",
      "required": true,
      "example": "mystorageacct"
    },
    {
      "name": "blob",
      "title": "Blob name",
      "description": "Destination blob name within the container.",
      "type": "string",
      "required": true,
      "example": "reports/2026/summary.csv"
    },
    {
      "name": "container",
      "title": "Container",
      "description": "Target blob container within the account.",
      "type": "string",
      "required": true,
      "example": "uploads"
    },
    {
      "name": "source-path",
      "title": "Source path",
      "description": "Local path of the file to upload.",
      "type": "string",
      "required": true
    },
    {
      "name": "azure-secret-key",
      "title": "Azure secret key",
      "description": "Key within the Secret that holds the storage account key.",
      "type": "string",
      "required": false,
      "default": "account-key"
    },
    {
      "name": "azure-secret-name",
      "title": "Azure secret name",
      "description": "Name of the Kubernetes Secret holding the storage account key.",
      "type": "string",
      "required": false,
      "default": "azure-storage-credentials"
    }
  ],
  "images": [
    {
      "ref": "mcr.microsoft.com/azure-cli@sha256:933eb8dcb81aecb6f77e03c5b8660f0a1dfa9e1d16525763a27f86ff3b83a044",
      "repository": "mcr.microsoft.com/azure-cli",
      "tag": "2.91.0",
      "digest": "sha256:933eb8dcb81aecb6f77e03c5b8660f0a1dfa9e1d16525763a27f86ff3b83a044"
    }
  ],
  "install": {
    "kubectl": "kubectl apply -n argo -f https://catalog.dagweave.com/api/v1/items/azure-blob-upload/1.0.2/template.yaml",
    "argo": "argo template create -n argo https://catalog.dagweave.com/api/v1/items/azure-blob-upload/1.0.2/template.yaml"
  },
  "template": "apiVersion: argoproj.io/v1alpha1\nkind: WorkflowTemplate\nmetadata:\n  name: azure-blob-upload\n  labels:\n    dagweave.io/catalog-item: azure-blob-upload\n  annotations:\n    # The catalog semver this manifest was authored at. The dagweave app records\n    # (catalog-item-id, semver) -\u003e content-hash -\u003e base-vN when it mints the tenant\n    # cluster name via ResolveOrMint. Keep in sync with metadata.yaml `version`.\n    dagweave.io/catalog-version: \"1.0.2\"\n    dagweave.io/catalog-category: \"Object storage\"\nspec:\n  entrypoint: upload\n  templates:\n    - name: upload\n      inputs:\n        parameters:\n          # Azure storage account name.\n          - name: account\n          # Target blob container within the account.\n          - name: container\n          # Destination blob name within the container.\n          - name: blob\n          # Local path of the file to upload.\n          - name: source-path\n          # Name of the Kubernetes Secret holding the storage account key, plus the\n          # key within it. Defaults let a user leave them blank in the Inspector.\n          - name: azure-secret-name\n            default: azure-storage-credentials\n          - name: azure-secret-key\n            default: account-key\n      container:\n        # Pinned by digest per the catalog convention: an image rebuild can never\n        # silently change the behaviour of an already-released item version.\n        # mcr.microsoft.com/azure-cli:2.91.0\n        image: mcr.microsoft.com/azure-cli@sha256:933eb8dcb81aecb6f77e03c5b8660f0a1dfa9e1d16525763a27f86ff3b83a044\n        command: [sh, -c]\n        # The account key is passed as AZURE_STORAGE_KEY (read automatically by the\n        # az CLI), never interpolated into the shell. Account/container/blob/source\n        # are passed as env too and referenced double-quoted, so metacharacters are\n        # safe.\n        args:\n          - |\n            set -eu\n            az storage blob upload \\\n              --account-name \"${AZURE_STORAGE_ACCOUNT}\" \\\n              --container-name \"${BLOB_CONTAINER}\" \\\n              --name \"${BLOB_NAME}\" \\\n              --file \"${SOURCE_PATH}\" \\\n              --overwrite\n        env:\n          - name: AZURE_STORAGE_ACCOUNT\n            value: \"{{inputs.parameters.account}}\"\n          - name: BLOB_CONTAINER\n            value: \"{{inputs.parameters.container}}\"\n          - name: BLOB_NAME\n            value: \"{{inputs.parameters.blob}}\"\n          - name: SOURCE_PATH\n            value: \"{{inputs.parameters.source-path}}\"\n          - name: AZURE_STORAGE_KEY\n            valueFrom:\n              secretKeyRef:\n                name: \"{{inputs.parameters.azure-secret-name}}\"\n                key: \"{{inputs.parameters.azure-secret-key}}\"\n",
  "templateSha256": "324b1d51b81698469e04ed3c237e87519b0217157e4fcef25dc6833a8efaa179",
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/azure-blob-upload",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
