.NET Core application that deletes all blobs from a container in an Azure storage account.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lukas Langrock 043c230971 Update link 1 year ago
src Update link 1 year ago
.gitignore Initial commit 2 years ago
BulkDeleteBlobs.sln Folder structure 1 year ago
LICENSE Initial commit 2 years ago
README.md Update README.md 2 years ago

README.md

BulkDeleteBlobs

This application will delete all blobs in a given container.

Environment Variables

To access your storage account and container, you need to pass your storage account name, key and container name to the application. You can do this by settings three environmental variables.

Variable Value
ACCOUNT_STR Storage account name
KEY_STR Storage account key
CONTAINER_STR Container name

The storage account name and container name are the names you specified when you created the storage account and container. You can find your storage account key by opening your storage account in the Azure portal and clicking on the Access keys tab under settings.

Run

To run this application you need to have the .NET Core 3 Runtime installed.

  1. Clone or download the code
  2. Open the folder in your terminal
  3. Execute the command dotnet run.