This tool was build to get quickly and easy Information about Azure Blobs. It prints basic attributes and gets metadata from blobs. It is also possible to download the content of blobs. Furthermore it is possible to filter for a certain Storage Container Names or/and Blob names.
--accountNameor-n: (mandatory) provide the name of the Storage Account--accessKeyor-k: (mandatory) provide the Access Key of Storage Account--containeror-c: (optional) filter for a specific container by it names. Substring match--blobor-b: (optional) filter for specific blobs by it names. Substring match--metadata-filteror-m: (optional) filter for metadata key:value. Shows only the blobs matching at least one given filter.--msior-i: (optional) give ObjectId of user assigned Identity (instead of working with accessKey)--show-content: (optional) prints additionally the content of the blobs
If using system assigned Identity, leave accessKey and msi empty.
-
./asi --accountName <myStorageAccountName> --accessKey <myStorageAccessKey> -c test -b myblobwill show only blobs including myblob in their names only stored in containers including test in their names. -
./asi --accountName <myStorageAccountName> --accessKey <myStorageAccessKey> -m trackingId:123 -m foo:barwill show only blobs havingtrackingId = 123orfoo = baras metadata properties.