Storage.Console 1.0.1

dotnet tool install --global Storage.Console --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Storage.Console --version 1.0.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Storage.Console&version=1.0.1
                    
nuke :add-package Storage.Console --version 1.0.1
                    

Storage.Console

CLI tool for uploading files and folders to Azure Blob Storage with time-limited read-only SAS URLs.

Install

dotnet tool install --global Storage.Console

Usage

# Upload a file (SAS URL expires in 30 days)
storage upload ivy-tendril ./report.pdf

# Upload a folder (auto-zipped, excludes .git/bin/obj/node_modules)
storage upload ivy-tendril ./my-project

# Upload with custom expiry
storage upload ivy-tendril ./data.csv --expires 2026-06-01

# Force zip a single file
storage upload ivy-tendril ./large-file.log --zipped

Configuration

Copy src/example.config.yaml to src/config.yaml and fill in your storage profiles:

storage:
  ivy-tendril:
    provider: azure
    account_name: stivytelemetry
    container_name: ivy-tendril

Prerequisites

  • Azure CLI installed and logged in (az login)
  • Access to the target Azure Storage account

How it works

  1. Uses az storage container generate-sas to create a write SAS token for upload
  2. Uploads the file/zip via the Azure Blob SDK
  3. Generates a read-only SAS token with the specified expiry
  4. Returns the full SAS URL

The URL stops working after the expiry date. To auto-delete blobs at expiry, configure an Azure lifecycle management policy on the storage account.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.1 36 3/29/2026
1.0.0 24 3/29/2026