Stashr.Configuration.Legacy 0.9.1

dotnet add package Stashr.Configuration.Legacy --version 0.9.1
                    
NuGet\Install-Package Stashr.Configuration.Legacy -Version 0.9.1
                    
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="Stashr.Configuration.Legacy" Version="0.9.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Stashr.Configuration.Legacy" Version="0.9.1" />
                    
Directory.Packages.props
<PackageReference Include="Stashr.Configuration.Legacy" />
                    
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 Stashr.Configuration.Legacy --version 0.9.1
                    
#r "nuget: Stashr.Configuration.Legacy, 0.9.1"
                    
#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 Stashr.Configuration.Legacy@0.9.1
                    
#: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=Stashr.Configuration.Legacy&version=0.9.1
                    
Install as a Cake Addin
#tool nuget:?package=Stashr.Configuration.Legacy&version=0.9.1
                    
Install as a Cake Tool

stashr

stashr

A fully .NET, open-source secrets engine — a Vault-compatible API with native .NET integration and a built-in web UI.

Pre-audit release (0.9.0). Not yet independently security-audited. Suitable for evaluation, internal tooling, and non-critical workloads. See the repository for the full security posture.

Packages

  • Stashr.Client — .NET SDK over the HTTP API.
  • Stashr.Configuration — AddStashr() IConfiguration provider.
  • Stashr.Configuration.Legacy — .NET Framework 4.8 ConfigurationBuilder.
  • Stashr.Cli — the stashr operator CLI (dotnet tool).

Install

dotnet add package Stashr.Client
dotnet add package Stashr.Configuration
dotnet tool install --global Stashr.Cli

Use it

// SDK
var client = new StashrClient(new Uri("https://stashr.internal:8200"), token);
var secret = await client.GetSecretAsync("app/db");
// Bind secrets straight into IConfiguration — no plaintext in appsettings.json
builder.Configuration.AddStashr(o =>
{
    o.Address = new Uri("https://stashr.internal:8200");
    o.Token   = Environment.GetEnvironmentVariable("STASHR_TOKEN");
    o.Path    = "app/db";
});

For .NET Framework apps, register Stashr.Configuration.Legacy.StashrConfigBuilder in web.config to resolve appSettings / connectionStrings from stashr.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 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.9.1 134 6/18/2026
0.9.0 124 6/18/2026