thewisenerd / bput

azure blob upload with system assigned managed identity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bput

bput is a command line tool to upload blobs to Azure Blob Storage.

bput assumes that you have a System-assigned Managed Identity assigned on your Azure VM, and the identity has been provided Storage Blob Data Contributor Role to the Azure Blob Storage account that you want to upload to.

bput uses the official Azure SDK for Go.

Usage

Usage: bput [options] <file1> <file2>...
  -a string
    	account
  -b string
    	bucket/container
  -p string
    	path prefix

Example: bput -a myaccount -b mycontainer file1 file1.md5sum

Compilation

go mod download
make

About

azure blob upload with system assigned managed identity

License:MIT License


Languages

Language:Go 85.3%Language:Makefile 14.7%