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
                    
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="Sindika.AspNet.SecretManager" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sindika.AspNet.SecretManager" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Sindika.AspNet.SecretManager" />
                    
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 Sindika.AspNet.SecretManager --version 1.0.1
                    
#r "nuget: Sindika.AspNet.SecretManager, 1.0.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.
#addin nuget:?package=Sindika.AspNet.SecretManager&version=1.0.1
                    
Install Sindika.AspNet.SecretManager as a Cake Addin
#tool nuget:?package=Sindika.AspNet.SecretManager&version=1.0.1
                    
Install Sindika.AspNet.SecretManager as a Cake Tool

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 local appsettings.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 the ISecrets interface.

Quick Start

  1. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.1 481 a month ago
1.0.0 194 a month ago