O24OpenAPI.KeyVault 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package O24OpenAPI.KeyVault --version 1.0.0
                    
NuGet\Install-Package O24OpenAPI.KeyVault -Version 1.0.0
                    
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="O24OpenAPI.KeyVault" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="O24OpenAPI.KeyVault" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="O24OpenAPI.KeyVault" />
                    
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 O24OpenAPI.KeyVault --version 1.0.0
                    
#r "nuget: O24OpenAPI.KeyVault, 1.0.0"
                    
#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 O24OpenAPI.KeyVault@1.0.0
                    
#: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=O24OpenAPI.KeyVault&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=O24OpenAPI.KeyVault&version=1.0.0
                    
Install as a Cake Tool

πŸ“’ O24OpenAPI.KeyVault

πŸ” Secure your application with O24OpenAPI KeyVault SDK
A lightweight and powerful SDK for managing secrets securely in your .NET applications.

NuGet Downloads License


πŸš€ Features

βœ… Securely retrieve and manage secrets
βœ… Built-in integration with .NET IConfiguration
βœ… Lightweight and optimized for performance
βœ… Supports .NET 6+ and .NET Core


πŸ“¦ Installation

Install via NuGet Package Manager:

dotnet add package O24OpenAPI.KeyVault

Or manually add this line to your .csproj:

<PackageReference Include="O24OpenAPI.KeyVault" Version="1.0.0" />

⚑ Usage

1️⃣ Initialize O24KeyVaultClient

using O24OpenAPI.KeyVault;

var keyVaultClient = new O24KeyVaultClient(new ClientSettings
{
    UserAgent = "O24KeyVault.Sdk"
});

2️⃣ Retrieve Secrets

string secretValue = keyVaultClient.GetSecret("MY_SECRET");
Console.WriteLine($"Secret Value: {secretValue}");

3️⃣ Integrate with .NET Configuration

You can inject it into IConfiguration for global access:

var builder = WebApplication.CreateBuilder(args);

// Initialize Key Vault Client
var keyVaultClient = new O24KeyVaultClient(new ClientSettings());

// Load secrets into IConfiguration
builder.Configuration["MY_SECRET"] = keyVaultClient.GetSecret("MY_SECRET");

var app = builder.Build();
app.Run();

πŸ“– API Reference

Method Description
GetSecret(string key) Retrieve a secret by its key
SetSecret(string key, string value) Store or update a secret
DeleteSecret(string key) Remove a secret from the vault

πŸ› οΈ Requirements

  • .NET 6.0+ / .NET Core
  • Compatible with Windows, Linux, and macOS

πŸ‘¨β€πŸ’» Contributing

We welcome contributions! Feel free to submit a PR or open an issue for feedback.


πŸ“œ License

This project is licensed under the MIT License. See the LICENSE file for details.


πŸ”₯ Start securing your application today with O24OpenAPI.KeyVault! πŸš€

Product 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 was computed.  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.  net10.0 was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on O24OpenAPI.KeyVault:

Package Downloads
O24OpenAPI.Client

Package Description

O24OpenAPI.Kit

O24OpenAPI Kit (KeyVault helpers, Signature, Models, Utils)

O24Platform

Nền tαΊ£ng thΖ° viện dùng chung cho các dα»± án O24.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.3.0 653 3/11/2025
1.2.0 209 3/11/2025
1.1.0 222 3/11/2025
1.0.0 216 3/11/2025