Upload a local file to blob storage

az storage blob

  • Manage blob storage containers and objects in Azure.
    Part of `azure-cli`.
    More information: <https://learn.microsoft.com/cli/azure/storage/blob>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

az storage blob upload --account-name {{storage_account_name}} --account-key {{storage_account_key}} -c {{container_name}} -n {{path/to/blob}} -f {{path/to/local_file}}

click the source code to copy install az storage blob on any operating system with command-not-found.com