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
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Storage.Console --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- Uses
az storage container generate-sasto create a write SAS token for upload - Uploads the file/zip via the Azure Blob SDK
- Generates a read-only SAS token with the specified expiry
- 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 | Versions 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.