Blobify 2024.11.4.51
dotnet tool install --global Blobify --version 2024.11.4.51
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 Blobify --version 2024.11.4.51
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Blobify&version=2024.11.4.51
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Blobify --version 2024.11.4.51
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Blobify
Blobify is a .NET Global tool that archives (moves) files from a local folder to Azure Blob Storage container.
Obtain
dotnet tool install -g Blobify
Usage
blobify archive <inputpath> <azureStorageAccount> <azureStorageAccountContainer> [OPTIONS]
Example
blobify archive inputpath storageaccountname storagecontainer
Arguments
<inputpath> Input path
<azureStorageAccount> Azure Storage Account Name
<azureStorageAccountContainer> Azure Storage Account Container Name
Options
-h, --help Prints help information
--azure-tenant-id Azure Tentant ID to sign into
--file-pattern Local file pattern to match
Authentication
By default it'll try authenticate using the DefaultAzureCredential which tries to authorize in the following order based on your environment.
- EnvironmentCredential
- WorkloadIdentityCredential
- ManagedIdentityCredential
- SharedTokenCacheCredential
- VisualStudioCredential
- VisualStudioCodeCredential
- AzureCliCredential
- AzurePowerShellCredential
- AzureDeveloperCliCredential
- InteractiveBrowserCredential
Using EnvironmentCredential
- Set the environment variable
AZURE_TENANT_ID
to the tenant ID (found in theApp Registration
overview for your app). - Set the environment variable
AZURE_CLIENT_ID
to the client ID (found in theApp Registration
overview for your app). - Set the environment variable
AZURE_CLIENT_SECRET
to the secret noted earlier. - Set the environment variable
AZURE_AUTHORITY_HOST
tohttps://login.microsoftonline.com/
.
Tool flow
flowchart TD
ls[List files in source path]
exists[Verifies if blob file already exists]
upload[Upload file]
verify[Verifies MD5 hash]
delete[Delete file]
skip[Skip file]
ls --> exists
exists --Found--> verify
exists --Not Found--> upload
upload --> verify
verify --Matches--> delete
verify --Not Matches--> skip
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
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 |
---|---|---|
2024.11.4.51 | 2,677 | 11/4/2024 |
2024.9.25.48 | 6,168 | 9/25/2024 |
2024.9.25.45 | 125 | 9/25/2024 |
2024.9.24.40 | 195 | 9/24/2024 |
2024.9.22.13 | 157 | 9/22/2024 |
2024.9.5.11 | 2,250 | 9/5/2024 |
2024.9.5.9 | 115 | 9/5/2024 |
2024.6.11.7 | 10,841 | 6/11/2024 |
2024.5.29.4 | 21,869 | 5/29/2024 |