Object Level Tagging

You can use tags such as get, set, and upload on blobs.

Get blob tag list

az storage blob tag list --blob-endpoint <blob_primary_endpoint> --container-name <container_name> --name <blob_name> --sas-token <sas_token>

Set blob tag

az storage blob tag set --blob-endpoint <blob_primary_endpoint> --container-name <container_name> --name <blob_name> --tags tag2=value2 tag1=value1 --sas-token <sas_token>

Upload blob with tags

az storage blob upload --blob-endpoint <blob_primary_endpoint> --container-name <container_name> --file <file_path> --name <blob_name> --tags tag1=value1 --sas-token <sas_token>

Examples

Get blob tag list

Set blob tag

Upload blob with tags

Related Information

List blobsInformation published on non-SAP site

Upload a blobInformation published on non-SAP site