Pandatech.PandaVaultClient
1.0.0
See the version list below for details.
dotnet add package Pandatech.PandaVaultClient --version 1.0.0
NuGet\Install-Package Pandatech.PandaVaultClient -Version 1.0.0
<PackageReference Include="Pandatech.PandaVaultClient" Version="1.0.0" />
paket add Pandatech.PandaVaultClient --version 1.0.0
#r "nuget: Pandatech.PandaVaultClient, 1.0.0"
// Install Pandatech.PandaVaultClient as a Cake Addin #addin nuget:?package=Pandatech.PandaVaultClient&version=1.0.0 // Install Pandatech.PandaVaultClient as a Cake Tool #tool nuget:?package=Pandatech.PandaVaultClient&version=1.0.0
PandaVaultClient
PandaVaultClient is an internal NuGet package designed to retrieve and apply configurations from an PandaVault service, to your .NET projects. This package offers a seamless way to integrate and manage configurations securely within your applications.
Features
- Configuration Retrieval: Fetches configuration data from an internal service using HTTP requests with secret authentication.
- Configuration Application: Applies the fetched configuration data to your .NET projects using
Microsoft's
Microsoft.Extensions.Configuration
.
Installation
PandaVaultClient can be installed via NuGet Package Manager or by adding the following package reference to your project:
dotnet add package Pandatech.PandaVaultClient
Usage
Basic Configuration Retrieval
To use PandaVaultClient within your project, first, ensure you have the necessary environment variables set for the configuration service URL and secret:
// Set environment variables
Environment.SetEnvironmentVariable("PANDA_VAULT_URL", "Your_Panda_Vault_URL");
Environment.SetEnvironmentVariable("PANDA_VAULT_SECRET", "Your_Panda_Vault_Secret");
Then, within your application program.cs or where configuration is set up:
using PandaVaultConfigurationProvider;
var builder = WebApplication.CreateBuilder(args);
builder.Configuration.AddPandaVault();
var app = builder.Build();
app.Run();
License
Pandatech.PandaVaultClient is licensed under the MIT License.
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. |
-
net8.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial commit