Sindika.AspNet.SecretManager
1.0.1
dotnet add package Sindika.AspNet.SecretManager --version 1.0.1
NuGet\Install-Package Sindika.AspNet.SecretManager -Version 1.0.1
<PackageReference Include="Sindika.AspNet.SecretManager" Version="1.0.1" />
<PackageVersion Include="Sindika.AspNet.SecretManager" Version="1.0.1" />
<PackageReference Include="Sindika.AspNet.SecretManager" />
paket add Sindika.AspNet.SecretManager --version 1.0.1
#r "nuget: Sindika.AspNet.SecretManager, 1.0.1"
#addin nuget:?package=Sindika.AspNet.SecretManager&version=1.0.1
#tool nuget:?package=Sindika.AspNet.SecretManager&version=1.0.1
Sindika ASP.NET Secret
A lightweight secret management library for .NET applications that supports fetching secrets from HashiCorp Vault or appsettings.json. The library selects the appropriate secret provider based on the configuration defined in appsettings.json
.
Features
Dual Secret Provider Support
Easily switch between HashiCorp Vault and localappsettings.json
for secret storage.Configurable via appsettings.json
Specify settings for Vault and AppSettings directly in your configuration file.Validation
Ensures all required settings are provided and valid.Flexible Integration
Compatible with any implementation of theISecrets
interface.
Quick Start
Configure your secrets
Update your
appsettings.json
with the necessary settings:{ "SecretManagerSettings": { "Provider": "Vault", // or "AppSettings" "AppSettingSecret": { // Provide settings if using local appsettings secret }, "VaultSecretSettings": { // Provide settings for Vault integration } }, "VaultSettings": { // Vault integration settings (e.g., address, token, etc.) } }
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net9.0
- Microsoft.Extensions.Configuration (>= 9.0.2)
- Microsoft.Extensions.Logging (>= 9.0.2)
- Microsoft.Extensions.Options (>= 9.0.2)
- VaultSharp (>= 1.17.5)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Sindika.AspNet.SecretManager:
Package | Downloads |
---|---|
Sindika.AspNet.Authentication
Package Description |
|
Sindika.AspNet.Connection
Sindika.AspNet.Connection is a .NET library designed to simplify and standardize connection management for various services such as Citus, Kafka, PostgreSQL, RabbitMQ, and Redis. It provides robust tools to configure, validate, and manage these connections efficiently. |
|
Sindika.AspNet.Storage
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.