O24OpenAPI.KeyVault
1.3.0
dotnet add package O24OpenAPI.KeyVault --version 1.3.0
NuGet\Install-Package O24OpenAPI.KeyVault -Version 1.3.0
<PackageReference Include="O24OpenAPI.KeyVault" Version="1.3.0" />
<PackageVersion Include="O24OpenAPI.KeyVault" Version="1.3.0" />
<PackageReference Include="O24OpenAPI.KeyVault" />
paket add O24OpenAPI.KeyVault --version 1.3.0
#r "nuget: O24OpenAPI.KeyVault, 1.3.0"
#:package O24OpenAPI.KeyVault@1.3.0
#addin nuget:?package=O24OpenAPI.KeyVault&version=1.3.0
#tool nuget:?package=O24OpenAPI.KeyVault&version=1.3.0
📢 O24OpenAPI.KeyVault
🔐 Secure your application with O24OpenAPI KeyVault SDK
A lightweight and powerful SDK for managing secrets securely in your .NET applications.
🚀 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 | Versions 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. |
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on O24OpenAPI.KeyVault:
| Package | Downloads |
|---|---|
|
O24OpenAPI.Kit
O24OpenAPI Kit (KeyVault helpers, Signature, Models, Utils) |
|
|
O24OpenAPI.Client
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.