Bounteous.Azure 0.0.7

dotnet add package Bounteous.Azure --version 0.0.7
                    
NuGet\Install-Package Bounteous.Azure -Version 0.0.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bounteous.Azure" Version="0.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bounteous.Azure" Version="0.0.7" />
                    
Directory.Packages.props
<PackageReference Include="Bounteous.Azure" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Bounteous.Azure --version 0.0.7
                    
#r "nuget: Bounteous.Azure, 0.0.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Bounteous.Azure@0.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Bounteous.Azure&version=0.0.7
                    
Install as a Cake Addin
#tool nuget:?package=Bounteous.Azure&version=0.0.7
                    
Install as a Cake Tool

Bounteous.Azure

Shared Azure helpers for .NET — thin, fluent wrappers over the Azure SDK for Key Vault secrets and Blob Storage, with first-class dependency-injection support. Targets .NET 10.

Install

dotnet add package Bounteous.Azure

Key Vault

IKeyVault reads secrets from an Azure Key Vault. It authenticates with DefaultAzureCredential unless you supply your own TokenCredential.

using Bounteous.Azure.Secrets;

IKeyVault keyVault = new KeyVault()
    .WithVaultName("my-vault");           // https://my-vault.vault.azure.net

// Raw string secret
string apiKey = await keyVault.GetKeyAsync("api-key");

// Strongly-typed secret (deserialized from JSON)
MySettings settings = await keyVault.GetKeyAsync<MySettings>("my-settings");

Supply an explicit credential when needed:

var keyVault = new KeyVault()
    .WithVaultName("my-vault")
    .WithCredentials(new ManagedIdentityCredential());

Dependency injection

using Bounteous.Azure.IoC;

services.AddKeyVault();   // registers IKeyVault -> KeyVault (scoped)

Blob Storage

IBlobStorage saves and reads objects as JSON blobs. The target container is created if it does not already exist.

using Bounteous.Azure.Storage;

IBlobStorage storage = await new BlobStorage()
    .ForAccount("mystorageaccount")       // https://mystorageaccount.blob.core.windows.net
    .ForContainer("documents");

await storage.SaveAsync("order-123", order);
var order = await storage.ReadAsync<Order>("order-123");

As with Key Vault, authentication defaults to DefaultAzureCredential and can be overridden via WithCredentials(...).

License

Internal Bounteous shared component.

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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.7 96 6/14/2026
0.0.6 100 6/14/2026
0.0.5 105 4/15/2026
0.0.4 303 3/3/2025
0.0.3 186 3/2/2025
0.0.2 211 2/21/2025